OPEN-SOURCE SCRIPT
Hidden Div ALERT ONLY v1.9

1. This script detects **price-anchored hidden divergences** for trend continuation, not reversals.
2. It uses **price pivots** as the reference and reads **RSI at the exact pivot candle**.
3. **Hidden Bearish**: lower high in price with higher high in RSI → bearish trend continuation.
4. **Hidden Bullish**: higher low in price with lower low in RSI → bullish trend continuation.
5. A **RefLock mechanism** prevents small or noisy pivots from overwriting the main swing.
6. **Min/Max gap filters** ensure only valid swing structures are evaluated.
7. Optional **EMA, RSI range, and volume filters** help align signals with market context.
8. The script is **alert-only**, non-repainting, and optimized for **mobile use**.
9. Designed for **set-and-forget trading**, alerts trigger execution without watching the chart.
2. It uses **price pivots** as the reference and reads **RSI at the exact pivot candle**.
3. **Hidden Bearish**: lower high in price with higher high in RSI → bearish trend continuation.
4. **Hidden Bullish**: higher low in price with lower low in RSI → bullish trend continuation.
5. A **RefLock mechanism** prevents small or noisy pivots from overwriting the main swing.
6. **Min/Max gap filters** ensure only valid swing structures are evaluated.
7. Optional **EMA, RSI range, and volume filters** help align signals with market context.
8. The script is **alert-only**, non-repainting, and optimized for **mobile use**.
9. Designed for **set-and-forget trading**, alerts trigger execution without watching the chart.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.