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.

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。