INDICATOR MANUAL
Fibonacci fan indicatorAuto Fibonacci Fan - Confirmed Pivots [AFD] · full manual · published to TradingView
Read automatically anchored Fibonacci speed fans from confirmed, qualified swing legs, plus the confirmed-bar interaction state where price has reacted at each level.
Start here
What the indicator does, the questions it can help answer, and its fresh-install defaults.
A pivot confirms only after Pivot Strength bars exist on both sides and every neighboring extreme is strictly less extreme. An opposite-side pivot then forms a candidate leg; a qualifying leg must clear two filters — a minimum displacement in ATR units and a minimum directional efficiency, the leg’s range divided by the accumulated true-range path between its anchors.
A qualifying leg archives the fan it replaces and becomes current. The chart shows as many as four current or archived fans; a fifth qualification evicts the oldest. A confirmed source close strictly beyond the current origin ends its current status and freezes that fan at the invalidation time rather than deleting it.
Each fan draws five configurable ratios from the same construction: constructionPrice(r) equals the leg-end price plus the origin-to-leg-end difference times r, so ratio 0 sits at the leg end and ratio 1 at the origin. Lifecycle projection ends the current fan at the latest chart bar and completed fans at their replacement or invalidation cutoff; Infinite extends every visible ray right using the same anchors and slope.
A fixed top-right board reports the current fan only: a horizontal rail, projected price, and confirmed-bar interaction state — Above/Below, Tested, Rejected, Broken, or post-break Held — for each visible level, plus an independent Golden Pocket row that classifies the last confirmed close against the 0.618–0.650 zone.
Fresh-install defaults10 documented defaults
Swipe or scroll horizontally to see every column.
| Area | Default | Result |
|---|---|---|
| Anchor Timeframe | Chart | Uses chart bars; a strictly higher selection would use completed source bars instead. |
| Qualification Preset | Swing | Uses an effective Pivot Strength of 7, ATR length 21, 1.25 ATR minimum leg, and 0.25 minimum efficiency. |
| Visible Fans | 4 | Keeps up to four current/completed fans; a fifth qualification evicts the oldest. |
| Levels | 0.236 · 0.382 · 0.500 · 0.618 · 0.786, all on | Draws all five ratio rays using the Order Flow color scheme. |
| Projection | Lifecycle | Ends the current fan at the latest chart bar and completed fans at their replacement or invalidation cutoff. |
| Ray Style | Dotted · width 1 | Draws native dotted rays rather than solid or dashed. |
| Fill Mode | Gradient · 20% opacity | Shades up to four stepped bands between adjacent visible levels, with a 1.75x spotlight on the current price’s band capped at 60%. |
| Show Golden Pocket | On | Shades the current fan’s 0.618–0.650 zone at a fixed neutral 24% opacity, independent of Fill Mode and level visibility. |
| Show Fib Status Board | On · Compact | Shows the current-fan board; Large increases its width and height. |
| Interaction Tolerance (ATR) | 0.10 | Sets each level’s interaction zone to max(chart ATR(active length) × 0.10, 2 ticks). |
How it works
How the indicator turns chart data into the states and drawings you see.
Confirmed, alternating anchors
A pivot confirms only after the configured bars exist on both sides. The sequence alternates sides; a same-side pivot replaces the latest one only when strictly more extreme, and a source bar that is both a strict high and low is resolved using only the side opposite the latest pivot.
Two-filter qualification
A completed leg qualifies only when its ATR-normalized displacement meets the minimum leg size and its directional efficiency — range divided by the true-range path between anchors — meets the minimum. Comparisons are inclusive; a zero Custom threshold disables that filter.
Bounded fan queue
A qualifying opposite leg archives the current fan and becomes current; a qualifying same-origin revision updates the current fan instead of duplicating it. Visible Fans caps the queue from 1 through 4, and a new qualification evicts the oldest fan once the cap is reached.
Invalidation, not deletion
A confirmed source close strictly beyond the current origin ends current status and freezes that fan at its invalidation time; equality holds it. The frozen fan still counts toward Visible Fans and remains on the chart as history.
Ray construction and projection
Every ray runs from the origin through the leg end, priced at each ratio by the same leg-end-plus-difference-times-ratio formula. Lifecycle bounds current and completed rays at their respective cutoffs; Infinite extends the same anchors and slope to the right instead of changing the geometry.
Gradient fill and Golden Pocket
Gradient shades stepped bands between adjacent visible levels and gives the current price’s band a 1.75x spotlight capped at 60%. The Golden Pocket is a separate, always-available 0.618–0.650 wedge at a fixed 24% opacity that stays independent of Fill Mode and level visibility.
Confirmed-bar interaction states
Each visible level and the Golden Pocket classify the last confirmed chart-bar close against an ATR-scaled zone around their projected price: Tested, Rejected, Broken, or Held after a break. States persist with their completed-bar age until the next interaction, and reset whenever the current fan changes.
Higher-timeframe anchors
Chart or an equal-duration selection uses chart bars. A strictly higher selection uses completed source bars for qualification while placing each pivot at its exact chart-bar high or low inside the higher-timeframe candle; a lower or non-comparable selection yields no fan and the board names the reason.
Output and state reference8 documented states
Swipe or scroll horizontally to see every column.
| Output or state | When it appears | Meaning |
|---|---|---|
| Current fan | A leg qualifies | Five ratio rays draw from the confirmed origin through the leg end; the prior current fan archives. |
| Archived fan | A newer leg qualifies or the current fan invalidates | Ray geometry freezes at the replacement or invalidation cutoff; up to four fans remain visible. |
| GOLD row: WAITING / BELOW / IN / ABOVE | Golden Pocket shown and a current fan exists | Classifies the last confirmed close against the 0.618–0.650 zone. |
| TESTED | Confirmed close inside a level’s interaction zone | Price closed within the ATR-scaled tolerance of that projected level. |
| REJECTED ↑ / ↓ | Zone touched, close returns to its existing side | No prior break to that side preceded the touch. |
| BROKEN ↑ / ↓ | Confirmed close finishes beyond the zone’s far edge | Price closed fully through the level. |
| HELD ↑ / ↓ | A retest closes back on the side established by a prior break | The break level acted as support or resistance on the retest. |
| NO FAN · LTF SOURCE UNSUPPORTED / TF NOT COMPARABLE | Anchor Timeframe is lower than or not comparable to the chart | No fan is drawn; the board names the correction even if its normal visibility is off. |
Settings
The 34-input reference follows the three settings groups: Anchors & Qualification, Levels & Colors, and Fan Display. Custom-only controls remain dimmed until Qualification Preset or Color Scheme is set to Custom.
01 · Anchors & Qualification6 inputs
Swipe or scroll horizontally to see every column.
| Setting | Control | Default | Choices, limits & availability |
|---|---|---|---|
| Anchor TimeframeanchorTimeframeInput | Timeframe | Blank | — |
| Qualification PresetbehaviorPresetInput | Choice / text | Swing | Scalp · Intraday · Swing · Custom |
| Pivot StrengthswingStrengthInput | Whole number | 7 | Min 2 · Max 50 | Conditional |
| ATR LengthatrLengthInput | Whole number | 21 | Min 2 · Max 100 | Conditional |
| Minimum Leg (ATR)minimumAtrUnitsInput | Decimal | 1.25 | Min 0.00 · Max 20.00 · Step 0.05 | Conditional |
| Minimum EfficiencyminimumEfficiencyInput | Decimal | 0.25 | Min 0.00 · Max 1.00 · Step 0.05 | Conditional |
02 · Levels & Colors16 inputs
Swipe or scroll horizontally to see every column.
| Setting | Control | Default | Choices, limits & availability |
|---|---|---|---|
| Color SchemecolorSchemeInput | Choice / text | Order Flow | Order Flow · Midnight · Neon · Ocean · Ember · Violet · Copper · Arctic · Carbon · Custom |
| ShowshowLevel1Input | Toggle | On | — |
| Ratiolevel1Input | Decimal | 0.236 | Min 0.0 · Max 1.0 · Step 0.001 | Conditional |
| Colorlevel1ColorInput | Color | #0072B2 | Conditional |
| ShowshowLevel2Input | Toggle | On | — |
| Ratiolevel2Input | Decimal | 0.382 | Min 0.0 · Max 1.0 · Step 0.001 | Conditional |
| Colorlevel2ColorInput | Color | #356D86 | Conditional |
| ShowshowLevel3Input | Toggle | On | — |
| Ratiolevel3Input | Decimal | 0.500 | Min 0.0 · Max 1.0 · Step 0.001 | Conditional |
| Colorlevel3ColorInput | Color | #6B6859 | Conditional |
| ShowshowLevel4Input | Toggle | On | — |
| Ratiolevel4Input | Decimal | 0.618 | Min 0.0 · Max 1.0 · Step 0.001 | Conditional |
| Colorlevel4ColorInput | Color | #A0632D | Conditional |
| ShowshowLevel5Input | Toggle | On | — |
| Ratiolevel5Input | Decimal | 0.786 | Min 0.0 · Max 1.0 · Step 0.001 | Conditional |
| Colorlevel5ColorInput | Color | #D55E00 | Conditional |
03 · Fan Display12 inputs
Swipe or scroll horizontally to see every column.
| Setting | Control | Default | Choices, limits & availability |
|---|---|---|---|
| Visible FansfansOnChartInput | Whole number | 4 | Min 1 · Max 4 |
| ProjectionrayProjectionInput | Choice / text | Lifecycle | Lifecycle · Infinite |
| Ray StylelineStyleInput | Choice / text | Dotted | Solid · Dashed · Dotted |
| Ray WidthlineWidthInput | Whole number | 1 | Min 1 · Max 4 |
| Fill ModefanFillInput | Choice / text | Gradient | Off · Solid · Gradient |
| Fill OpacityfillOpacityInput | Whole number | 20 | Min 0 · Max 60 | Conditional |
| Show BaselinesshowBaselineInput | Toggle | On | — |
| Baseline ColorbaselineColorInput | Color | #78909C | Conditional |
| Show Fib Status BoardshowStatusBoardInput | Toggle | On | — |
| Status Board SizestatusBoardSizeInput | Choice / text | Compact | Compact · Large | Conditional |
| Interaction Tolerance (ATR)interactionToleranceInput | Decimal | 0.10 | Min 0.00 · Max 1.00 · Step 0.05 | Conditional |
| Show Golden PocketshowGoldenPocketInput | Toggle | On | — |
Alerts and limitations
What can notify you, what can change the output, and what the indicator cannot establish.
Alerts
Limits to keep visible
- Anchors and qualification are automatic. There is no manual-anchor mode, horizontal Fibonacci grid, or ratio extension outside 0–1.
- Visible Fans caps the queue at four. Older qualifying fans are evicted rather than retained as a complete historical record.
- A confirmed pivot requires Pivot Strength bars on both sides, so the newest possible anchor is always delayed by that many bars.
- Heikin Ashi, Renko, Kagi, Line Break, and other nonstandard chart types can supply synthetic or approximate values; standard-bar parity is not claimed.
- Confirmed pivots do not establish verified non-repainting behavior, and invalidation uses the confirmed close of the selected source, not a wick.
- The Golden Pocket’s 0.650 edge is a conventional buffer boundary, not a Fibonacci-derived ratio, and neither it nor any level implies support, resistance, or a trade setup.
- A higher-timeframe anchor selection delays updates twice — once for pivot-right confirmation, once for completed-source delivery — before it reaches the chart.
Troubleshooting
Start with what you see on the chart. Each answer explains the likely cause and the first setting, timeframe, or data condition to check.
Why is there no current fan?
The engine may still be waiting on a first or opposite-side pivot, the latest candidate leg may have failed a qualification filter, the current fan may have just invalidated, or the Anchor Timeframe selection may be unsupported. Read the status board’s waiting or warning message — a lower Anchor Timeframe or an unsupported comparison shows its own correction.
Why did an older fan disappear?
Check Visible Fans. The cap runs 1 through 4, and a fifth qualifying fan evicts the oldest. Invalidation freezes a fan instead of deleting it, so a fan that vanished from the visible set may simply be past the cap.
Why do the rays stop before the right edge of the chart?
Lifecycle is the default projection: current rays stop at the latest chart bar and completed rays stop at their replacement or invalidation cutoff. Switch Projection to Infinite to extend every visible ray right.
Why is a fill band missing or in an unexpected place?
Bands form between adjacent visible ratios sorted by actual value, not by row number. A hidden level is skipped, and two levels set to the same ratio produce no band between them.
Why can’t I edit the level colors?
Color Scheme must be set to Custom. Any of the nine preset schemes intentionally disables the five Color pickers and uses its own palette instead.
Why is the Golden Pocket still showing when I turned the levels off?
Show Golden Pocket is independent of Fill Mode and the five editable levels. Turn it off directly if the 0.618–0.650 wedge should not appear.
Why did a higher-timeframe fan update later than expected?
An Anchor Timeframe above the chart applies two delays: the pivot needs its right-side source bars to confirm, and that completed-source result then needs to reach the chart. Both extend delivery beyond what the chart timeframe alone would show.