dudeowns

ADX and DI (Colored Candles Open-Source)

The "ADX and DI (Colored Candles Open-Source)" indicator is a technical analysis tool used in trading. It utilizes the Average Directional Index (ADX) and the Directional Movement Indicators (+DI and -DI) to assess the strength and direction of a price trend. The ADX is calculated based on a 14-period lookback and is displayed as a histogram.

The color of the ADX histogram varies depending on the ADX value and the relative positions of +DI and -DI. Green and purple colors represent bullish and bearish trends respectively, with variations in shades indicating trend strength. Yellow and red colors indicate potential trend exhaustion for bullish and bearish trends, respectively, when ADX is above 50. Gray color is used when ADX is below 10, indicating a neutral trend.

Additionally, the script plots +DI and -DI lines with a fill between them to visually represent their crossover. Horizontal dotted lines are drawn at key ADX levels (0, 10, 25, 50) for reference. The candles on the chart are also colored to match the ADX histogram, providing a clear visual representation of the market trend.

Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

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.

Vous voulez utiliser ce script sur un graphique ?