OPEN-SOURCE SCRIPT
Aggiornato 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.
Note di rilascio
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.
Note di rilascio
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.Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.