// Deviation rate of Chinese stock market index //The purpose of the indicator is to monitor the Chinese stock market index deviation rate to the 20EMA, so each major index can be observed longitudinally at the same time. //This indicator give signal of which Index or instrument should you be focused and when should you enter the market to get a long or short position. //The chart shows the deviation rate between the current price of each major index current price to the 20EMA. //Also it count a deductive ratio between current price to the previous 20th bar close price to (which lead to the slope of the 20SMA) //When using, adjust the corresponding period according to the chart period. //The word DI (divergence) represents the deviation value between the current price and 20EMA, and DE (deduction) represents the deviation value between the current price and the 20 deduction price. //Attention marker: The marker tells one of the moving average (EMA20 and MA20) is turning towards the opposite direction. When DE and DI one is plus , one is minus [divergence ratio>0 and deduction ratio <0 ( or vise versa)] attention marker appear on the instrument title. //Take the bull trend as an example. If the price is higher than ema20, the EMA20 is turning.If the price is higher than the close price of the bar 20 days ago , the sma20 is turning. //When the ema20 has not turned around to opposite direction , and the ma20 is turning , the deviation rate of the moving average and the deviation rate of the deductible price are different in positive or negative. //The marker as a reminder will appear on the instrument title. //How to use this watchlist: You can freely replace the major indices with the instrument you are focused.
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.