OPEN-SOURCE SCRIPT

Colored ADX with DI+/- and thresholds

Güncellendi
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!
Sürüm Notları
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

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname