OPEN-SOURCE SCRIPT

Colored ADX with DI+/- and thresholds

Aggiornato
Average Directional Index ( ADX )

Based off of MasaNakamura's implementation, modified to show high & super-high momentum thresholds. In addition, coloring the trend line by the prevailing trend direction from the DI (Red if down, Green if up) allows you to remove the DI if you want to reduce chart clutter!

"The Average Directional Index (ADX), Minus Directional Indicator (-DI) and Plus Directional Indicator (+DI) represent a group of directional movement indicators that form a trading system developed by Welles Wilder....
The Plus Directional Indicator (+DI) and Minus Directional Indicator (-DI) are derived from smoothed averages of these differences, and measure trend direction over time. These two indicators are often referred to collectively as the Directional Movement Indicator (DMI).

The Average Directional Index (ADX) is in turn derived from the smoothed averages of the difference between +DI and -DI, and measures the strength of the trend (regardless of direction) over time.

Using these three indicators together, chartists can determine both the direction and strength of the trend....

At its most basic, the Average Directional Index (ADX) can be used to determine if a security is trending or not. This determination helps traders choose between a trend-following system or a non-trend-following system. Wilder suggests that a strong trend is present when ADX is above 20..."


See
investopedia.com/articles/trading/07/adx-trend-indicator.asp
stockcharts.com/school/doku.php?st=adx&id=chart_school:technical_indicators:average_directional_index_adx
for detail.

AMD

There are more plans to add vertical lines on crosses and divergence indicators so stay tuned!

Thank you and good trading!
Note di rilascio
Added A color-correlation option to change colors based on the DI+/- to show the trend direction, or based on the threshold/magnitude of the trend
Centered OscillatorsMoving AveragesTrend Analysis

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità