vitelot

Divergence Detector

vitelot 已更新   
This indicator is meant to trigger your attention to possible regular divergences.
As soon as the indicator prints a red or green background, a bearish or bullish regular divergence could have formed.
The divergence is determined between the close values of price and the corresponding values of the underlying plotted baseline indicator.
As baseline, you can use RSI, CCI, MACD, RVI, and OBV.
For each of them, you can tune their classical parameters.
They are initially set to the default periods:
RSI(14), CCI(14), MACD(12,26), RVI(10). OBV has no params.
The detection algorithm uses a tunable window length at a default optimal value of 21.

I would classify this indicator as advanced, and I suggest its use by experienced traders only.
Divergences can be extremely profitable but can destroy your account if you are not cautious. When the indicator detects a possible divergence be sure to check with your eyes. In fact, sometimes a spurious divergence is signalled because of the finite window size.

The algorithm I use in this indicator is brand new and based on a simple but tricky concept. I'm still working to refine it such to detect hidden divergences as well.

This indicator can be used on any TF, *BUT* be sure to use a volume filter for TF under H1, such to avoid low volume periods (e.g., during the Asian range).
You could find my "Volume Volatility Spectrum" or "ATR volatility spectrum" well suited for that purpose.

I've seen a multitude of paid indicators for detecting divergences, some of them not cheap at all. This one is free and it works fairly well! Enjoy it, and use it at your own risk.
版本注释:
corrected an error due to redefinition of obv function, which triggered after the obv function was added to the TV standard library
受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?