OPEN-SOURCE SCRIPT
Average Directional Index with Key Level and Reversal Marker ADX

Overview
This indicator calculates the Average Directional Index (ADX) and adds a visual marker when a potential trend reversal occurs above a key ADX level.
How it works
The indicator computes ADX using built-in ta.adx() and DI lines.
When ADX peaks above the Key Level and then starts descending, a blue circle marker highlights the reversal area.
You can adjust:
ADX Length (adxlen)
DI Length (dilen)
Key Level (keyLevel)
Mark bar window (markBars)
Use case
Helps traders identify strong trend exhaustion points and potential trend reversals in any timeframe or asset.
Notes
Works on all symbols and timeframes.
Does not repaint or use future data.
The blue circle marks the latest reversal within the last markBars bars.
© reysudo.dev — Open-source educational indicator.
This indicator calculates the Average Directional Index (ADX) and adds a visual marker when a potential trend reversal occurs above a key ADX level.
How it works
The indicator computes ADX using built-in ta.adx() and DI lines.
When ADX peaks above the Key Level and then starts descending, a blue circle marker highlights the reversal area.
You can adjust:
ADX Length (adxlen)
DI Length (dilen)
Key Level (keyLevel)
Mark bar window (markBars)
Use case
Helps traders identify strong trend exhaustion points and potential trend reversals in any timeframe or asset.
Notes
Works on all symbols and timeframes.
Does not repaint or use future data.
The blue circle marks the latest reversal within the last markBars bars.
© reysudo.dev — Open-source educational indicator.
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.