OPEN-SOURCE SCRIPT
已更新 Price Divergence Accumulate

Price divergence is a good indicator to detect a trend change.
But only check the divergence value is not enough, the time range of how long the trend continues also needs to be measured.
This indicator accumulated Price Divergence until it turns from plus to minus or minus to plus.
From this Accumulated Price Divergence
1. The upper-level (long term) trend should be supported by the lower-level (short term) trend.
if the peaks of the lower-level trend become lower and lower, it is indicating the upper-level trend might get an adjustment.
2. At the beginning of the upper-level trend
The 1st lower-level trend peak might exceed the upper-level trend. But often we see it will be corrected and 2nd lower-level trend will be underneath the upper-level trend.
But only check the divergence value is not enough, the time range of how long the trend continues also needs to be measured.
This indicator accumulated Price Divergence until it turns from plus to minus or minus to plus.
From this Accumulated Price Divergence
1. The upper-level (long term) trend should be supported by the lower-level (short term) trend.
if the peaks of the lower-level trend become lower and lower, it is indicating the upper-level trend might get an adjustment.
2. At the beginning of the upper-level trend
The 1st lower-level trend peak might exceed the upper-level trend. But often we see it will be corrected and 2nd lower-level trend will be underneath the upper-level trend.
版本注释
1 . make the data source switchable (VWMA or EMA, default is VWMA, in case of no vol index please switch to EMA2 . Change the default color setting , just my private favorite
3 . add super long MA , which is 200 days as default.
版本注释
Notes:This is the old version that stops update!!
Please search new user name for the new version!!
New user name:
TradiKator
You can still use this old version, all feature is still functional.
But it will be hidden by default setting.
If you like to use this old version please change the setting , enable it by yourself.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。