GM RSI Hook v1.3 - Regular + Hidden Divergence

GM RSI Hook – ADX & Divergence
GM RSI Hook highlights RSI momentum turns and confirmed regular and hidden divergence in a separate indicator panel.
The default setup combines:
• RSI: 14 periods, calculated from close.
• WMA: 6 periods, applied directly to RSI.
• EMA: 3 periods, applied directly to RSI.
RSI HOOK SIGNALS
A bullish hook occurs when RSI changes from falling to rising after forming a trough below the lower threshold, default 30.
A bearish hook occurs when RSI changes from rising to falling after forming a peak above the upper threshold, default 70.
Hooks are confirmed at candle close. The confirming RSI value may already be back inside the threshold. No EMA/WMA crossover is required.
Thresholds, lengths and display settings are adjustable.
OPTIONAL ADX FILTER
Choose between:
• Off: no ADX restriction.
• Below limit: ADX must be below the selected limit.
• Falling: ADX must be lower than on the previous candle.
• Both: ADX must be below the limit and falling.
Defaults are DI length 14, ADX smoothing 14 and limit 25. The filter is off by default.
REGULAR AND HIDDEN DIVERGENCE
The indicator compares consecutive confirmed price pivots with RSI values on those same candles.
• REG+: price makes a lower low while RSI makes a higher low.
• REG−: price makes a higher high while RSI makes a lower high.
• HID+: price makes a higher low while RSI makes a lower low.
• HID−: price makes a lower high while RSI makes a higher high.
Select Regular, Hidden or Both. Price pivots can use High/Low or Close. Hidden divergence detection does not include a separate trend filter.
CONFIRMATION AND TIMING
Default pivot settings use three candles to the left and two confirmation candles to the right. Divergence therefore becomes available at the close two candles after the pivot.
Markers appear on the confirmation candle and are not shifted backward onto the earlier pivot.
An optional setting requires a recent confirmed divergence before a new hook can qualify. The default validity window is 10 subsequent candles. Earlier hooks are not replayed when divergence is confirmed later.
ALERTS
Separate alerts are available for bullish and bearish hooks, regular divergence and hidden divergence.
Divergence alerts operate independently of the hook thresholds and ADX filter. Enable the desired alert options and create a TradingView alert.
USAGE AND LIMITATIONS
Use the indicator to study momentum changes alongside price structure and your own trading rules. Divergence can occur outside the 30/70 zones, and RSI can remain extreme during strong trends.
Signals do not guarantee a price reversal. This is an indicator, not an automated trading strategy, and it does not define stop-loss, take-profit or position sizing.
GM RSI Hook highlights RSI momentum turns and confirmed regular and hidden divergence in a separate indicator panel.
The default setup combines:
• RSI: 14 periods, calculated from close.
• WMA: 6 periods, applied directly to RSI.
• EMA: 3 periods, applied directly to RSI.
RSI HOOK SIGNALS
A bullish hook occurs when RSI changes from falling to rising after forming a trough below the lower threshold, default 30.
A bearish hook occurs when RSI changes from rising to falling after forming a peak above the upper threshold, default 70.
Hooks are confirmed at candle close. The confirming RSI value may already be back inside the threshold. No EMA/WMA crossover is required.
Thresholds, lengths and display settings are adjustable.
OPTIONAL ADX FILTER
Choose between:
• Off: no ADX restriction.
• Below limit: ADX must be below the selected limit.
• Falling: ADX must be lower than on the previous candle.
• Both: ADX must be below the limit and falling.
Defaults are DI length 14, ADX smoothing 14 and limit 25. The filter is off by default.
REGULAR AND HIDDEN DIVERGENCE
The indicator compares consecutive confirmed price pivots with RSI values on those same candles.
• REG+: price makes a lower low while RSI makes a higher low.
• REG−: price makes a higher high while RSI makes a lower high.
• HID+: price makes a higher low while RSI makes a lower low.
• HID−: price makes a lower high while RSI makes a higher high.
Select Regular, Hidden or Both. Price pivots can use High/Low or Close. Hidden divergence detection does not include a separate trend filter.
CONFIRMATION AND TIMING
Default pivot settings use three candles to the left and two confirmation candles to the right. Divergence therefore becomes available at the close two candles after the pivot.
Markers appear on the confirmation candle and are not shifted backward onto the earlier pivot.
An optional setting requires a recent confirmed divergence before a new hook can qualify. The default validity window is 10 subsequent candles. Earlier hooks are not replayed when divergence is confirmed later.
ALERTS
Separate alerts are available for bullish and bearish hooks, regular divergence and hidden divergence.
Divergence alerts operate independently of the hook thresholds and ADX filter. Enable the desired alert options and create a TradingView alert.
USAGE AND LIMITATIONS
Use the indicator to study momentum changes alongside price structure and your own trading rules. Divergence can occur outside the 30/70 zones, and RSI can remain extreme during strong trends.
Signals do not guarantee a price reversal. This is an indicator, not an automated trading strategy, and it does not define stop-loss, take-profit or position sizing.
Broker I use: PU Prime | Referral/IB link below. I may earn commission from referred trading. Trading involves risk.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Broker I use: PU Prime | Referral/IB link below. I may earn commission from referred trading. Trading involves risk.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.