OPEN-SOURCE SCRIPT
已更新 Awesome Oscillator with Divergence

Simple Awesome Oscillator with Divergences
This TradingView script combines the classic Awesome Oscillator (AO) with divergence detection. It plots AO as a histogram, highlighting changes in momentum. Divergences are identified based on pivot highs and lows, signaling potential trend reversals:
- Bullish Divergence: Price makes lower lows, AO makes higher lows.
- Bearish Divergence: Price makes higher highs, AO makes lower highs.
Visual signals (arrows) and alerts ensure clear identification, making it ideal for traders focusing on momentum and trend reversals.
This TradingView script combines the classic Awesome Oscillator (AO) with divergence detection. It plots AO as a histogram, highlighting changes in momentum. Divergences are identified based on pivot highs and lows, signaling potential trend reversals:
- Bullish Divergence: Price makes lower lows, AO makes higher lows.
- Bearish Divergence: Price makes higher highs, AO makes lower highs.
Visual signals (arrows) and alerts ensure clear identification, making it ideal for traders focusing on momentum and trend reversals.
發行說明
Now the indicator has:Customizable inputs for:
- AO periods (Fast/Slow)
- Choice between Ema and SMA for the calculation of the AO
- Lookback for pivot (right/left)
- Minimum range/maximum for divergence
- Activation/deactivation of any type of divergence (regular/hidden, bullish/bearyish)
- Hidden divergences (Hidden Bullish and Hidden Bearish) with label and dedicated colors
- Alert Condition for each type of divergence
How to use new inputs
- You can choose whether to use Ema (faster) or SMA (slower) for the AO.
- You can activate/deactivate the display of any type of divergence.
- You can adjust the lookback and range parameters directly from the input panel of the indicator.
What changes compared to before
The indicator is now much more flexible and powerful, identical as logic to that "for ideas", but with modern syntax and the possibility to choose between SMA/Ema.
You can adapt the sensitivity and type of signals according to your operational preferences.
發行說明
Update: The indicator has been downgraded to version 5 because with TradingView's display.pane feature the indicator is inaccurate and was missing important divergences.開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。