Description
Fibonacci Golden Zone draws the 0.5–0.618 retracement band automatically from confirmed swing pivots, so you stop dragging the Fib tool by hand and stop getting a different zone every time you redraw it. Written in Pine Script v6 for TradingView, it overlays directly on price.
Swings are confirmed rather than guessed. A pivot needs a configurable number of bars of strength on the left (15 by default) and then a set number of confirmation bars on the right (5) before the zone is committed, which is what stops the band repainting itself every time a new candle prints. A Skip late zones option scans every bar from the pivot through its confirmation window so you are not handed a zone price has already left, and One zone per leg replaces rather than stacks the band when the same leg extends.
Around the zone it draws an ATR-filtered ZigZag — legs smaller than a configurable multiple of ATR are ignored, so minor noise does not generate structure — plus HH, HL, LH and LL labels on the confirmed pivots, optional full Fib levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1) and impulse projections beyond the swing. Historical zones can stay on the chart as faded boxes so you can see how price treated them previously.
The alert engine is the part that earns its place: seven distinct conditions, covering price entering the zone, bullish rejection, bearish rejection, a clean breakout through it, setup invalidation, and the 1.272× and 1.618× projections being reached. An invalidation buffer measured in ATR gives the setup room beyond the zone before it is called dead, which matters on volatile instruments where a wick past the level is normal.
Twenty-two inputs across Swing, Golden Zone, Signal, Levels, ZigZag and Visual groups. Free Pine Script source included. Educational tool, not financial advice.





Reviews
There are no reviews yet.