OPEN-SOURCE SCRIPT

ADX & DI trend exhaustion

An EMA is applied to the ADX in order to catch the exhaustion of a trend (i.e. ADX line crossunder EMAADX line) or the possible formation of a new one. In the first case, we would wait a confirmation signal, which happens when the crossunder has a value greater then 50. A new trend is created when the difference between the ADX and the EMAADX is positive, with ADX greater then 20. As confirmation, we would have the DI+ greater then 20 e the DI- smaller then 20 (this would trigger a bullish sentiment, bearish for the opposite), consequently the histogram will be display in green (red in the bearish case).
Average Directional Index (ADX)directionalOscillatorstrend

开源脚本

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

想在图表上使用此脚本?

免责声明