OPEN-SOURCE SCRIPT

TASC 2024.12 Dynamic ADX Histogram

█ OVERVIEW

This script introduces a new version of the ADX oscillator, designed by Neil Jon Harrington and featured in the "Revisualizing The ADX Oscillator" article from the December 2024 edition of TASC's Traders' Tips.


█ CONCEPTS

The directional movement index (DMI+ and DMI−) and average directional index (ADX) indicators have long been popular with technical analysts. Developed by J. Welles Wilder in the 1970s, these indicators provide information about the direction and strength of price movements across bars. The DMI+ measures positive price movement, the DMI- measures negative price movement, and the ADX gauges the average strength of price trends. Although these indicators can provide helpful insights into price action and momentum, Neil Jon Harrington argues they are often misunderstood or misapplied.

Harrington's indicator, the Dynamic ADX Histogram (DADX), applies directional information to the ADX based on DMI+ and DMI- values to create a single oscillator centered around 0. The indicator displays the oscillator as a histogram with dynamic colors based on ADX movements and user-defined strength thresholds. The author believes this modification of the ADX and DMI data offers a more intuitive visualization of the information provided by Wilder's calculations.

An additional feature of the DADX is the option to use average (smooth) DMI+ and DMI- values in the oscillator's calculation, which reduces noise and choppiness at the cost of added lag.


█ USAGE

The "ADX Length" input determines the number of bars in the DMI and ADX calculation. The "DMI Smoothing Length" input controls the number of bars in the DMI smoothing calculation. Use a value of 1 for non-smoothed DMI data.

The sign of the DADX indicates the direction of price movements based on the difference between the smoothed DMI+ and DMI- values. The absolute value of the oscillator corresponds to the ADX, representing the trend strength.

The "Low Threshold" and "High Threshold" inputs define the ADX thresholds for categorizing trending, non-trending, and exhaustion states. The low threshold specifies the minimum absolute oscillator value required to indicate a trend, and the high threshold marks the absolute value where trend strength is excessive, possibly suggesting an upcoming consolidation or reversal. The indicator colors the histogram based on these thresholds and changes in the ADX, with brighter colors denoting a strengthening trend and darker colors signaling a weakening trend.
Average Directional Index (ADX)Directional Movement Index (DMI)tascTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


Tools and ideas for all Pine coders: tradingview.com/u/PineCoders/
Pine news broadcasts: t.me/PineCodersSquawkBox or twitter.com/PineCoders
TASC: traders.com/
또한 다음에서도:

면책사항