Confirmed Fib (Bos + Pullback)
Confirmed Fib (Bos + Pullback)
Couldn't load pickup availability
UK ALGORITHMS — CONFIRMED FIB (BOS + PULLBACK) v5.9
Overview
This Pine Script indicator implements an advanced Fibonacci retracement engine that identifies structural market swings using Break of Structure (BOS) and pullback confirmation. It automatically draws Fibonacci levels based on impulse moves, with anchor locking to prevent repainting.
Key Features
🔍 Core Logic
-
Impulse + BOS Detection: Identifies significant price swings using pivot points and Break of Structure
-
Dual Drawing Modes:
-
Fast Draw: Draws Fib immediately upon impulse + BOS confirmation (uses asymmetric pivot detection)
-
Strict Mode: Waits for full pullback pivot confirmation before drawing
-
-
Anchor Lock: Once a Fib is drawn within an active trend, anchors remain fixed. New extremes won't re-anchor the Fib
📊 Structural Analysis
-
Pivot Detection:
-
Conservative pivots (
pivotLen) for structural swing points and BOS detection -
Asymmetric impulses (
impulseR) for fast draw confirmation -
Separate pullback pivots for strict mode validation
-
-
Displacement Filter: Minimum impulse size in ATR units to avoid minor moves
-
Invalidation Buffer: Wick tolerance for structure breaks
🌐 Higher Timeframe Filter
-
Automatic bias resolution to next standard timeframe
-
HTF structural analysis prevents counter-trend trades
-
Configurable HTF pivot length
🎨 Visual Features
-
10 Color Themes: UK Algorithms, Midnight, Stealth, Blood Red, Matrix, Arctic, Neon Orange, Royal Blue, Forest, Monochrome
-
Golden Zone Highlighting: 0.618-0.786 zone with customizable colors
-
Dashboard Panel: Shows structure state, HTF bias, anchor prices, and impulse age
-
Anchor Markers: Labels for swing highs/lows (HH/LL or LH/HL)
⚠️ Alert System
-
New Fib drawn alerts (bull/bear)
-
Golden Zone touch alerts
-
Alert conditions for automation
Technical Specifications
| Parameter | Description | Default |
|---|---|---|
| Fast Draw | Skip pullback pivot for earlier entry | ON |
| Pivot Length | Bars left/right for structural pivots | 8 |
| Impulse Pivot R | Right-side bars for impulse confirmation | 3 |
| Pullback Pivot L | Bars for pullback validation | 2 |
| Displacement ATR | Minimum impulse size in ATR units | 1.5 |
| Invalidation Buffer | Wick tolerance for structure breaks | 0.25 ATR |
| Max Leg Age | Auto-refresh threshold in bars | 150 |
| Pivots Retained | Recent pivots kept in memory | 15 |
Use Cases
-
Swing Trading: Identify key support/resistance levels
-
Breakout Trading: Early entries on impulse + BOS confirmation
-
Position Management: Golden Zone as profit target or reversal zone
-
Multi-Timeframe Analysis: HTF bias filter for trend alignment
Share
