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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.