OPEN-SOURCE SCRIPT
Mis à jour 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.
Notes de version
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 de version
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.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.