XAU 15m Impulse + Golden Pocket + TP/SL1) What the indicator does
This tool automatically detects the latest confirmed impulse move on the 15‑minute timeframe, regardless of what timeframe you’re currently viewing (2m, 5m, 15m, etc.).
An “impulse” here means:
a confirmed pivot‑to‑pivot movement
that is large enough (based on ATR × minimum multiplier)
and clearly directional (UP or DOWN)
From that impulse the script automatically draws:
Golden Pocket retracement zone (0.618–0.65)
SL level (0.855 retracement)
TP1 at 0.0 (origin of impulse)
TP2 at –0.382 extension (continuation target)
2) What you see on the chart
Golden Pocket (GP) zone
Displayed as a dark orange box between 0.618 and 0.65.
Framed by dashed orange lines for clear visibility.
Automatically updates when a new impulse forms.
SL, TP1, TP2 lines
SL (0.855 retracement): red line
TP1 (0.0): lime-green line
TP2 (–0.382 extension): darker green line
Auto‑extended far into the future for planning trades.
Labels
“GP 0.618‑0.65”
“TP1 (0.0)”
“TP2 (‑0.382)”
“SL (0.855)”
These appear at the far right of your chart for clarity.
3) How the impulse is detected
The script constantly watches 15m pivots:
Pivot Low → Pivot High forms a potential UP impulse
Pivot High → Pivot Low forms a potential DOWN impulse
A swing becomes a valid impulse only when:
It is a confirmed pivot
It is big enough (range ≥ ATR × minAtrMult)
It has correct pivot direction (low→high or high→low)
Only the most recent valid impulse is used.
4) How to use it for trading
Long setup (UP impulse)
Identify the UP impulse box on the chart
Price retraces into the orange GP zone (0.618–0.65)
Watch for:
rejection candles
liquidity spikes
your LTF scalping model (EMA 9/21)
Enter long from GP → target:
TP1 = 0.0 (end of impulse)
TP2 = –0.382 (extension above the impulse high)
Stop‑loss:
SL = 0.855 retracement (red line)
Short setup (DOWN impulse)
The exact mirror:
GP zone above price between 0.618–0.65
TP1 at the impulse low
TP2 below (–0.382 extension)
SL higher at 0.855
5) Why these levels matter
Golden Pocket 0.618–0.65
The most commonly respected Fibonacci retracement cluster
Preferred by institutional algo models and liquidity traders
High‑probability reversal zone
SL at 0.855 retracement
Last “deep retracement” before a trend is considered broken
Used by many professional trade‑management models
Keeps SL outside common stop‑hunt zones
TP1 at 0.0
Logical first target: retest of impulse origin
Safe, high‑probability take‑profit
TP2 at –0.382
Measures continuation strength
Great extended target for trending days
Works particularly well on gold (XAUUSD)
6) When NOT to use signals
Avoid entries when:
Trend is extremely weak or flat
Major news events are hitting soon
Price is consolidating above/below the GP zone without reaction
A new impulse has not yet been formed (indicator looks “gray”)
7) Best way to combine it with your scalping model
Your scalping system (EMA 9/21 pullback + BOS + volume) works perfectly with this:
Ideal long confluence
15m impulse is UP
Price retraces to GP zone
On 2m/5m:
EMA9 > EMA21
Reclaim EMA9
BOS UP
Volume confirmation
Enter → TP1 / TP2
The GP acts as your HTF premium discount zone, and your entries are timed on LTF momentum structure.
8) Default settings reference
Impulse timeframe: 15m
Pivot size: 3×3
Min impulse size: ATR(14) × 1.2
Extend lines: 500 bars
GP opacity: 60 (dark orange)
Indicador Pine Script®






















