Skip to main content
AuctionFoundry
Menu

INDICATOR MANUAL

Auto Fibonacci retracement indicatorFibonacci Retracement [AFD] · full manual · published to TradingView

Draw a primary and optional higher-timeframe Fibonacci reference grid from selected ranges.

63 documented settingsPublished on TradingView · Aug 1, 2026

Start here

What the indicator does, the questions it can help answer, and its fresh-install defaults.

The primary grid can use the Current Day, Previous Day, Current Week, or Latest Swing range. Auto direction assigns 0.00 to the more recent extreme and 1.00 to the leg origin; Long and Short override that interpretation.

Latest Swing uses the newest confirmed consecutive alternating high-low pair. Current Day and Current Week are developing ranges, so their extremes and every derived level can move as the active period expands.

The optional higher-timeframe grid uses the latest confirmed higher-timeframe swing. Adaptive chooses a strictly higher interval below the terminal 12-month rung; Custom is suppressed when it is not higher than the chart.

Fresh-install defaults9 documented defaults

Swipe or scroll horizontally to see every column.

Fibonacci Retracement fresh-install defaults
AreaDefaultResult
Primary FibonacciOn · Current Day · AutoDraws the developing daily range with six interior ratios plus 0.00 and 1.00.
Swing engineStrength 5Confirms Latest Swing and higher-timeframe pivots five bars after origin.
HTF contextOff · Adaptive · custom 240Keeps the optional confirmed higher-timeframe layer hidden on a fresh install.
ColorGradient · Auction GoldMaps each ratio between the theme’s low- and high-end colors.
FillOTE Band · 72 transparencyShades 0.618–0.786 and increases opacity while price is inside it.
GlowOn · width 4 · 58 transparencyDraws a soft halo beneath each visible line.
GeometrySolid · width 1 · left 40 · right 30Extends the grid beyond its anchors and latest chart bar.
Labels10-bar offset · decimal · prices offShows ratio tags in the right margin without numeric prices.
ExtensionsOffKeeps negative-ratio levels hidden until enabled per grid.

How it works

How the indicator turns chart data into the states and drawings you see.

Primary range selection

Current Day and Current Week update with their active period; Previous Day is completed; Latest Swing waits for a confirmed alternating pivot pair. One current range is displayed rather than a historical ladder of grids.

Direction and ratio scale

Auto uses which selected extreme occurred later. The recent end of the impulse is 0.00 and the origin is 1.00. Negative ratios continue beyond 0.00 on the same scale.

Higher-timeframe context

The optional grid derives confirmed HTF pivots from the standard symbol’s OHLC. Adaptive steps to a higher interval; Custom requires an interval strictly above the chart timeframe.

Independent level visibility

The primary and HTF grids own separate 0.236 through 0.786 switches. Extension ratio switches are shared, while each grid has its own extension on/off control.

Gradient and single-color modes

Gradient maps ratio depth through Auction Gold, Neon, Ember, Ice, Mono, or custom endpoints. Single Color gives the primary and HTF grids separate chosen colors.

Fills and golden-zone emphasis

Off, All Bands, OTE Band, and Custom Bands control intervals independently of line visibility. The reactive highlight only changes the existing 0.618–0.786 fill while price is inside it.

Standard-symbol geometry

The range calculations request the standard ticker so synthetic chart candles do not silently become the higher-timeframe basis. The drawings still appear on the active chart and should be interpreted as references to standard OHLC geometry.

Output and state reference7 documented states

Swipe or scroll horizontally to see every column.

Fibonacci Retracement outputs and states
Output or stateWhen it appearsMeaning
PRIMARY GRIDPrimary layer on with usable range0.00, 1.00, and selected interior ratios across the active range.
HTF GRIDHTF on with confirmed higher-timeframe swingDimmed reference grid from the effective higher interval.
OTE BANDFill mode includes 0.618–0.786Shaded retracement interval, not an entry or probability claim.
GOLDEN-ZONE HIGHLIGHTPrice inside the included OTE bandTemporary opacity change to the existing fill.
EXTENSION LEVELGrid extensions and ratio enabledNegative-ratio reference beyond the 0.00 end of the leg.
RATIO LABELVisible levelDecimal or percent ratio with optional price.
NO HTF GRIDCustom timeframe not strictly higher or no confirmed rangeLayer remains blank rather than substituting a misleading interval.

Settings

The 63-input reference follows the nine settings groups: Fibonacci, Engine, Higher Timeframe, Color, Fill, Glow, Geometry, Extensions, and Labels. Conditional controls remain dimmed until their parent layer or mode is active.

🌀 Fibonacci10 inputs

Swipe or scroll horizontally to see every column.

🌀 Fibonacci settings and defaults
SettingControlDefaultChoices, limits & availability
Show Primary Fibonaccishow_primary_fibToggleOn—
Anchor Rangefib_anchorChoice / textCurrent DayLatest Swing · Current Day · Previous Day · Current Week | Conditional
Fib Directionfib_dirChoice / textAutoAuto · Long · Short
0.236fib_l236ToggleOnConditional
0.382fib_l382ToggleOnConditional
0.50fib_l5ToggleOnConditional
0.618fib_l618ToggleOnConditional
0.705fib_l705ToggleOnConditional
0.786fib_l786ToggleOnConditional
Show Extension Levelsshow_extToggleOffConditional
⚙️ Engine1 input

Swipe or scroll horizontally to see every column.

⚙️ Engine settings and defaults
SettingControlDefaultChoices, limits & availability
Swing Strength (bars)swing_strengthWhole number5Min 1 · Max 50
🧭 Higher-Timeframe Context10 inputs

Swipe or scroll horizontally to see every column.

🧭 Higher-Timeframe Context settings and defaults
SettingControlDefaultChoices, limits & availability
Show HTF Contextshow_htfToggleOff—
HTF Modehtf_modeChoice / textAdaptiveAdaptive · Custom | Conditional
Custom HTFcustom_htfTimeframe240Conditional
0.236htf_l236ToggleOnConditional
0.382htf_l382ToggleOnConditional
0.50htf_l5ToggleOnConditional
0.618htf_l618ToggleOnConditional
0.705htf_l705ToggleOnConditional
0.786htf_l786ToggleOnConditional
Show HTF Extension Levelshtf_show_extToggleOffConditional
🎨 Colors & Gradients7 inputs

Swipe or scroll horizontally to see every column.

🎨 Colors & Gradients settings and defaults
SettingControlDefaultChoices, limits & availability
Color Modecolor_modeChoice / textGradientGradient · Single Color
Gradient Themecolor_themeChoice / textAuction GoldAuction Gold · Neon · Ember · Ice · Mono · Custom | Conditional
Gradient Low (0.00 End)grad_low_colorColor#00B0FFConditional
Gradient High (1.00 End)grad_high_colorColor#FFB300Conditional
Fib Line Colorfib_colorColorGray · 20% transparentConditional
HTF Fib Line Colorhtf_line_colorColorYellow · 0% transparentConditional
HTF Layer Dimminghtf_dimWhole number20Min 0 · Max 90 · Step 5 | Conditional
🌈 Fills & Zones12 inputs

Swipe or scroll horizontally to see every column.

🌈 Fills & Zones settings and defaults
SettingControlDefaultChoices, limits & availability
Fill Between Levelsfib_fill_modeChoice / textOTE BandOff · All Bands · OTE Band · Custom Bands
Fill Transparencyfill_shiftWhole number72Min 0 · Max 100 · Step 2 | Conditional
Fib Fill Colorfib_fill_colorColorGray · 90% transparentConditional
0.00–0.236fib_fill_0_236ToggleOnConditional
0.236–0.382fib_fill_236_382ToggleOnConditional
0.382–0.50fib_fill_382_50ToggleOnConditional
0.50–0.618fib_fill_50_618ToggleOnConditional
0.618–0.705fib_fill_618_705ToggleOnConditional
0.705–0.786fib_fill_705_786ToggleOnConditional
0.786–1.00fib_fill_786_100ToggleOnConditional
Highlight Golden Zone at Priceote_reactiveToggleOn—
Highlight Strengthote_boostWhole number28Min 0 · Max 90 · Step 2 | Conditional
✨ Glow & Emphasis3 inputs

Swipe or scroll horizontally to see every column.

✨ Glow & Emphasis settings and defaults
SettingControlDefaultChoices, limits & availability
Enable Glowglow_enabledToggleOn—
Glow Widthglow_widthWhole number4Min 1 · Max 8 | Conditional
Glow Transparencyglow_shiftWhole number58Min 0 · Max 95 · Step 2 | Conditional
📐 Geometry6 inputs

Swipe or scroll horizontally to see every column.

📐 Geometry settings and defaults
SettingControlDefaultChoices, limits & availability
Line Styleline_style_nameChoice / textSolidSolid · Dashed · Dotted
Fib Line Widthfib_line_widthWhole number1Min 1 · Max 4 | Conditional
HTF Line Widthhtf_line_widthWhole number1Min 1 · Max 4 | Conditional
Line Extension Left (bars)line_left_barsWhole number40Min 0 · Max 4000
Line Extension Right (bars)line_right_barsWhole number30Min 0 · Max 200
Label Right Offset (bars)label_offsetWhole number10Min 0 · Max 200
📏 Extensions7 inputs

Swipe or scroll horizontally to see every column.

📏 Extensions settings and defaults
SettingControlDefaultChoices, limits & availability
-0.272ext_m272ToggleOffConditional
-0.414ext_m414ToggleOffConditional
-0.618ext_m618ToggleOnConditional
-1.00ext_m1000ToggleOffConditional
-1.618ext_m1618ToggleOnConditional
-3.236ext_m3236ToggleOffConditional
Extension Fade (per level)ext_fadeWhole number10Min 0 · Max 30 | Conditional
🏷️ Labels7 inputs

Swipe or scroll horizontally to see every column.

🏷️ Labels settings and defaults
SettingControlDefaultChoices, limits & availability
Show Price Labelsshow_level_pricesToggleOff—
Ratio Label Formatratio_label_formatChoice / textDecimalDecimal · Percent
Label Background Transparencylabel_bg_shiftWhole number58Min 0 · Max 100 · Step 2
Fib Label Sizefib_label_size_nameChoice / textSmallTiny · Small · Normal · Large · Huge | Conditional
Fib Label Text Colorfib_label_text_colorColorWhiteConditional
HTF Label Sizehtf_label_size_nameChoice / textSmallTiny · Small · Normal · Large · Huge | Conditional
HTF Label Text Colorhtf_label_text_colorColorWhiteConditional

Alerts and limitations

What can notify you, what can change the output, and what the indicator cannot establish.

Alerts

Limits to keep visible

  • Current Day and Current Week are developing ranges. A new extreme resizes the range and every derived line during the active period.
  • Latest Swing and the HTF grid require confirmed pivots, so their newest possible range is delayed by Swing Strength.
  • Only the active primary and optional HTF grids are retained. The script is not a historical Fibonacci-study archive.
  • A Custom HTF at or below the chart timeframe is intentionally suppressed. Adaptive has no higher rung from a 12-month chart.
  • The higher-timeframe request uses completed values, but that implementation detail is not a blanket non-repainting claim for every primary-range mode.
  • Negative-ratio extensions are reference lines, not price targets or statements that price will continue.
  • On synthetic chart types, standard-symbol OHLC can place the grid differently from the visible synthetic candles. Exact published-build behavior across every chart type was not observed.
  • The published-build warning count was not separately recorded. A historical predecessor’s warning result does not transfer to the current build.

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 does the Current Day grid keep moving?

Current Day uses today’s developing high and low, so the grid changes whenever the range expands. Choose Previous Day for a fixed completed range or Latest Swing for a confirmed pivot-to-pivot range.

Why hasn’t Latest Swing updated yet?

The newest turning point is not usable until Swing Strength bars confirm it, and the grid also needs an alternating high-low pair. Lowering Swing Strength confirms sooner but accepts smaller swings.

Why is the higher-timeframe grid blank?

Turn on Show HTF Context, then use Adaptive or choose a Custom HTF above the chart timeframe. A confirmed higher-timeframe swing pair must also exist, so load more history if the settings are correct but the grid is still blank.

Why are extension ratios selected but no extensions are visible?

The ratio checkboxes choose which extensions are available; they do not turn the drawings on. Enable Show Extension Levels for the main grid or Show HTF Extension Levels for the higher-timeframe grid.

Why is the OTE highlight missing?

The fill mode must include both the 0.618–0.705 and 0.705–0.786 bands, and current price must be inside their combined interval. Check the fill mode first, then compare price with the selected grid.

Risk disclosure

Auction Foundry LLC provides educational charting tools and general market commentary only. This is not investment, financial, legal or tax advice, and nothing here is a recommendation, offer or solicitation to buy or sell any instrument. Auction Foundry is not registered with the SEC as an investment adviser, nor with the CFTC as a commodity trading advisor, and is not an NFA member.

Trading involves risk, including loss of principal. Losses can exceed a modeled stop and, for leveraged or margin products, can exceed the amount initially deposited or invested. Indicators can be wrong, delayed or unsuitable for your circumstances, and past or hypothetical results do not predict future results. Free access does not change any of this. Consider your objectives and consult a licensed professional before acting. Using these tools does not create an advisory or brokerage relationship.

Auction Foundry LLC is an independent publisher and is not affiliated with, endorsed by, or sponsored by TradingView, Inc. “TradingView” is a trademark of TradingView, Inc., used here only to identify the platform our scripts are published on. Scripts are published to TradingView as a community author on the same terms as any other author.

Read the full Risk Disclosure for the dated, versioned document this summarizes.