OPEN-SOURCE SCRIPT

ADX Divergence Indicator

已更新
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.
發布通知
A 9 period EMA has been added to filter out false signals.
發布通知
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.
發布通知
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.
發布通知
Alerts have been added to the script.
發布通知
Alerts happen only when a candle closes with a signal. The alert will happen at the beginning of the following candle.
發布通知
Indicator shapes and locations are now customizable.
發布通知
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
發布通知
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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明