OPEN-SOURCE SCRIPT

volatility-weighted price change divergence

EMA of intrabar-volatility-weighted price change minus EMA of price change. It puts more weights on candles that have large volatility inside, and assumes that the direction of those high-volatility candles are more meaningful than low-volatility ones. Therefore, we take the difference between the volatility-weighted price change and the regular price change and plot the EMA. The indicator may be used as a tool to find divergence and potential reversal, or hints of continuation of a strong trend. Note that this indicator can change a lot with different time frames and settings, so take care to backtest before using. Recommended settings are 15m resolution for time frames longer than 4H and 1m resolution (with 200 EMA length) for time frames below 4H. The resolution is used to find the intrabar volatility.
Centered OscillatorsVolatility

Skrip sumber terbuka

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.

Ingin menggunakan skrip ini pada carta?

Penafian