OPEN-SOURCE SCRIPT

ADX with Trend Coloring

The ADX indicator helps identify the strength of a trend, while the DI+ and DI- values indicate the direction. In this script, the ADX's color reflects the dominant trend: green for long (DI+ is stronger and above its high limit) and red for short (DI- is stronger and above its high limit). DI+ and DI- are categorized into three levels based on user-defined thresholds. These levels indicate weak, moderate, or strong trend activity, providing insights into potential trade setups by aligning the ADX strength with the directional indicators.

The code has been updated to include two user-defined limits for both DI+ and DI-, allowing for three distinct ranges (e.g., 0-15, 15-30, 30-100) with corresponding colors.

The script now adjusts the ADX color dynamically to reflect the trend, based on whether DI+ or DI- is stronger. It uses green for long trends and red for short trends.
Average Directional Index (ADX)

Script open-source

Dans le plus pur esprit 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 nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité