PROTECTED SOURCE SCRIPT
Excess Combo — First-Hour Excess + MTF Candles + Early Shift

Excess Combo — First-Hour Excess + MTF Candles + Early Shift
What it does
This indicator blends three ideas to flag high-quality inflection points on the 15-minute chart:
Module A — First-Hour Excess (intraday open 09:30–10:30):
Spots “excess” candles in the opening hour (bullish excess low / bearish excess high), with optional gap filters and size/close geometry checks.
Module B — MTF Candle Patterns (Pin/Engulf/Outside):
Detects momentum candles with ATR-aware size floors and session gating. Priority is Engulf → Outside → Pin.
Module C — Early Shift Labels (15m, Excess-only):
Prints early “Shift” triangles when structure flips:
Proximity rule: a new excess on one side forms within X% of Daily ATR of the opposite side’s recent excess average.
Close-cross rule: the excess bar closes beyond the latest opposite excess level.
Includes same-direction cooldown, optional cross-direction cooldown, and daily reset of cooldowns so each session starts fresh. Shift markers are plotted as triangle shapes so they stay glued to bars (won’t float when you pan/zoom).
Visuals
Gold triangles = 2+ confirmations across modules (consensus).
Green/Red triangles = individual Module A/B signals (when not in gold).
“Shift” triangles (green up / red down) = early structure flips from Module C.
All shapes anchor to the bar (location=belowbar/abovebar) to remain fixed when scaling the chart.
Key Inputs (high level)
Module A: gap requirement (percent or Daily ATR), min range ≥ ATR, min wick, close fraction, cooldown.
Module B: enable Pin/Engulf/Outside, ATR size floors per timeframe, RTH session gating, cooldown.
Module C:
Opposite-side lookback (N): average of last N opposite excess levels.
Distance threshold (%ADR): how close an excess must be to the opposite band to count early.
Extra buffer (ticks): small price padding.
Same-direction cooldown (bars): throttle repeated signals same way.
Cross-direction cooldown (bars): throttle flip-flop whipsaws.
Daily reset: cooldowns reset at each new trading day.
How to Use
Apply on a 15-minute chart.
Use Gold signals for higher-confidence moves and Shift labels to catch earlier momentum turns.
Tighten or loosen %ADR to control how early “Shift” triggers:
Smaller %ADR = earlier, more frequent;
Larger %ADR = stricter, fewer signals.
If you see rapid flip-flops, increase same-direction and/or cross-direction cooldowns.
Non-Repainting
Daily references (close/ATR) are pulled with lookahead_off.
Signals are calculated on the current timeframe’s bar close (or live if you enable it).
Shapes are plotted relative to the bar, so they don’t reposition during zoom/pan.
Notes & Tips
Module C uses only excess events (Module A first-hour + Module B Pin).
By default, the proximity rule uses average of last N opposite excesses; close-cross uses the latest opposite level for precision.
Want pure intraday context? Clear yesterday’s structure by enabling daily resets (cooldowns already reset daily; array reset can be added if desired).
Changelog (highlights)
Added early Shift detection (proximity + close-cross).
Added same-direction and cross-direction cooldowns with daily reset.
Shift markers converted to triangle shapes for anchor stability.
ATR/geometry safeguards and session gating refined.
Best for: intraday momentum traders who want fast structure cues (Shift) plus higher-conviction pattern/excess agreement (Gold).
What it does
This indicator blends three ideas to flag high-quality inflection points on the 15-minute chart:
Module A — First-Hour Excess (intraday open 09:30–10:30):
Spots “excess” candles in the opening hour (bullish excess low / bearish excess high), with optional gap filters and size/close geometry checks.
Module B — MTF Candle Patterns (Pin/Engulf/Outside):
Detects momentum candles with ATR-aware size floors and session gating. Priority is Engulf → Outside → Pin.
Module C — Early Shift Labels (15m, Excess-only):
Prints early “Shift” triangles when structure flips:
Proximity rule: a new excess on one side forms within X% of Daily ATR of the opposite side’s recent excess average.
Close-cross rule: the excess bar closes beyond the latest opposite excess level.
Includes same-direction cooldown, optional cross-direction cooldown, and daily reset of cooldowns so each session starts fresh. Shift markers are plotted as triangle shapes so they stay glued to bars (won’t float when you pan/zoom).
Visuals
Gold triangles = 2+ confirmations across modules (consensus).
Green/Red triangles = individual Module A/B signals (when not in gold).
“Shift” triangles (green up / red down) = early structure flips from Module C.
All shapes anchor to the bar (location=belowbar/abovebar) to remain fixed when scaling the chart.
Key Inputs (high level)
Module A: gap requirement (percent or Daily ATR), min range ≥ ATR, min wick, close fraction, cooldown.
Module B: enable Pin/Engulf/Outside, ATR size floors per timeframe, RTH session gating, cooldown.
Module C:
Opposite-side lookback (N): average of last N opposite excess levels.
Distance threshold (%ADR): how close an excess must be to the opposite band to count early.
Extra buffer (ticks): small price padding.
Same-direction cooldown (bars): throttle repeated signals same way.
Cross-direction cooldown (bars): throttle flip-flop whipsaws.
Daily reset: cooldowns reset at each new trading day.
How to Use
Apply on a 15-minute chart.
Use Gold signals for higher-confidence moves and Shift labels to catch earlier momentum turns.
Tighten or loosen %ADR to control how early “Shift” triggers:
Smaller %ADR = earlier, more frequent;
Larger %ADR = stricter, fewer signals.
If you see rapid flip-flops, increase same-direction and/or cross-direction cooldowns.
Non-Repainting
Daily references (close/ATR) are pulled with lookahead_off.
Signals are calculated on the current timeframe’s bar close (or live if you enable it).
Shapes are plotted relative to the bar, so they don’t reposition during zoom/pan.
Notes & Tips
Module C uses only excess events (Module A first-hour + Module B Pin).
By default, the proximity rule uses average of last N opposite excesses; close-cross uses the latest opposite level for precision.
Want pure intraday context? Clear yesterday’s structure by enabling daily resets (cooldowns already reset daily; array reset can be added if desired).
Changelog (highlights)
Added early Shift detection (proximity + close-cross).
Added same-direction and cross-direction cooldowns with daily reset.
Shift markers converted to triangle shapes for anchor stability.
ATR/geometry safeguards and session gating refined.
Best for: intraday momentum traders who want fast structure cues (Shift) plus higher-conviction pattern/excess agreement (Gold).
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.