OPEN-SOURCE SCRIPT

ADX Divergence Indicator

Mis à jour
Description:
The ADX Divergence Indicator (ADXDI) is a technical analysis tool designed to identify potential bullish and bearish signals based on the Average Directional Index (ADX), the Positive Directional Indicator (+DI), and the Negative Directional Indicator (-DI) lines. This overlay indicator plots circles on the chart to highlight these signals.

How it Works:
The ADXDI calculates the ADX, +DI, and -DI values using user-defined parameters. It then evaluates specific conditions to determine potential bullish and bearish signals. The indicator considers rising and falling trends of the +DI and -DI lines, as well as changes in the ADX values. Additionally, it detects a bounce condition when the current ADX is less than the previous ADX value and that ADX value is higher than the one previous to it.

Usage:
To effectively utilize the ADX Divergence Indicator, follow these steps:
1. Apply the ADX Divergence Indicator to your chart by adding it from the available indicators.
2. Observe the circles plotted on the chart:
- Bullish circles (green by default) indicate potential bullish signals.
- Bearish circles (red by default) indicate potential bearish signals.
4. Interpret the signals provided by the indicator:
- A bullish signal occurs when the +DI line rises and the -DI line falls.
- A bearish signal occurs when the -DI line rises and the +DI line falls.
- The presence of a bounce condition (ADX < ADX and ADX > ADX) further strengthens the signal.
5. Combine the signals from the ADX Signals indicator with other technical analysis tools, such as support and resistance levels, trend lines, or candlestick patterns, to confirm potential trade setups.
6. Customize the indicator's parameters, such as the lengths of the DI and ADX calculations or the colors of the plotted circles, to suit your trading preferences.
7. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Notes de version
A 9 period EMA has been added to filter out false signals.
Notes de version
The ADX Divergence Indicator detects a bounce condition and plots a signal when a divergence has happened within 3 bars of the bounce. This was making it possible for both a bullish and a bearish signal to be plotted simultaneously. The code has been updated to cancel out signals that overlap.
Notes de version
Two Updates:
- A threshold input has been included to allow the user to have the option of using a minimum ADX value for a signal to be plotted.
- A 21 period EMA has been added to be used in conjunction with the 9 period EMA to further reduce false signals.
Notes de version
Alerts have been added to the script.
Notes de version
Alerts happen only when a candle closes with a signal. The alert will happen at the beginning of the following candle.
Notes de version
Indicator shapes and locations are now customizable.
Notes de version
In the Indicator Settings:
1. The "Create Alerts" option has been moved to the top of the "Inputs" tab
2. Color, Shape, and Location options are all moved to the "Style" tab
Notes de version
The chart image has been updated to show my private ADX+- with MACD Histogram indicator. Access to this indicator is granted to everyone who follows me.
ADXadxdivergenceaveragedirectionalmovementindexdiminusdiplusDivergenceTrend Analysis

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é