Auto Fib
Indicator
Auto Fibonacci Levels draws seven retracement lines between the highest high and the lowest low of the last 50 bars, flipped so 0% sits on the side price left.
From Carolyn Boroden, Fibonacci Trading (McGraw-Hill, 2008). Reviewed by the ChartLabs team, updated Nov 2026.
0% is above 23.6% (71,036.2).
0% 71,036.2 · 23.6% 69,527.6 · 38.2% 68,594.3 · 50% 67,840.0
0% is above 23.6% (71,036.2).
0% 71,036.2 · 23.6% 69,527.6 · 38.2% 68,594.3 · 50% 67,840.0
Illustration on simulated data.
Auto Fibonacci LevelsWhat is the Auto Fib indicator?
The look-back is the Period, 50 bars. Inside that window the highest high and the lowest low are the two ends. While the chart has fewer than 50 bars, the window is whatever has printed so far.
The lines flip with the close. If the close is above the midpoint of that high and low, 0% sits on the low and 100% on the high. A close on the midpoint, or below it, puts 0% on the high. One bar with high 10, low 8 and close 9.5 is above the midpoint 9, so the lines read 8.000, 8.472, 8.764, 9.000, 9.236, 9.572 and 10.000.
Colours, in that order, are 0% #F44336, 23.6% #FF9800, 38.2% #FFEB3B, 50% #FFFFFF, 61.8% #4CAF50, 78.6% #2196F3 and 100% #9C27B0. Each line is 1 px on the price chart. Record 0 is the first bar.
The flip
0% is the end price moved away from, not a fixed bottom. The same high and low draw the mirror image when the close is on the other side of the midpoint.
Partial window
Before 50 bars exist, the high and the low are taken from the bars so far. The lines still print.
Auto Fib signalsFive patterns to know.
0% on the low
The close is in the upper half of the window, so 0% is the low and 100% is the high.
0% on the high
The close is on the midpoint or in the lower half, so 0% is the high.
Price at 50%
The 50% line is the midpoint of the window. It is a reference, not a side.
Price between 38.2% and 61.8%
Price is inside the middle of the swing. Traders often watch whether it holds there or leaves.
A new extreme
A higher high or a lower low in the window moves every line.
Auto Fib formulaHow it is calculated.
Find the ends
Highest high and lowest low of the last 50 bars. On the example bar those are 10 and 8.
Pick the side
Close 9.5 is above 9, so start is 8 and end is 10. A close of 9 exactly would start at 10.
Space the ratios
0, 0.236, 0.382, 0.5, 0.618, 0.786 and 1. The 23.6% line is 8.472 and the 61.8% line is 9.236.
Auto Fib settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Period | 50 | 1 to 5,000 | How many bars set the high and the low. The Signal lens changes this. |
| Source | Close | Any price, or volume | The series compared with the midpoint. The default is the close. |
| Lines | 0% #F44336, 23.6% #FF9800, 38.2% #FFEB3B, 50% #FFFFFF, 61.8% #4CAF50, 78.6% #2196F3, 100% #9C27B0 | Fixed | Seven lines, 1 px, on the price chart. |
- Setting
- Period
- Default
- 50
- Range
- 1 to 5,000
- What it changes
- How many bars set the high and the low. The Signal lens changes this.
- Setting
- Source
- Default
- Close
- Range
- Any price, or volume
- What it changes
- The series compared with the midpoint. The default is the close.
- Setting
- Lines
- Default
- 0% #F44336, 23.6% #FF9800, 38.2% #FFEB3B, 50% #FFFFFF, 61.8% #4CAF50, 78.6% #2196F3, 100% #9C27B0
- Range
- Fixed
- What it changes
- Seven lines, 1 px, on the price chart.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
Auto Fib strategiesUse it in 3 setups.
Mark the middle of a swing
Traders often treat that band as the middle of the last 50 bars, and look at the trend separately.
Read 0% as the side left behind
The lines are a map of the window, not an order.
Let a new high redraw the set
The levels follow the last 50 bars. They are not locked to an old swing.
Auto Fib mistakesCommon mistakes.
Assuming 0% is always the low
0% is the low only when the close is above the midpoint. On the midpoint it sits on the high.
Reading one bar as the whole swing
The example high 10 and low 8 is one bar. On a real chart the two ends can be 50 bars apart.
Treating 50% as a target
50% is the halfway price of the window. The line does not say price will stop there.
Auto Fib combinationsPair it with these.
Auto Fib + ZigZag
ZigZag marks swings of its own. These lines fill the last 50 bars instead of one completed leg.
Auto Fib + ATR
ATR is the size of recent bars. It gives a scale for how far a line is from price.
Auto Fib + EMA
The EMA is the path of the close. Traders often want the close and the EMA on the same side of 50%.
Auto Fib FAQQuestions traders ask.
What are the Auto Fib settings?
Period 50 and source Close. The seven ratios are fixed.
Which way do the lines face?
If the close is above the midpoint, 0% is the low. Otherwise 0% is the high, including a close that lands exactly on the midpoint.
What is the worked bar?
High 10, low 8, close 9.5. The lines are 8.000, 8.472, 8.764, 9.000, 9.236, 9.572 and 10.000.
What are the colours?
0% #F44336, 23.6% #FF9800, 38.2% #FFEB3B, 50% #FFFFFF, 61.8% #4CAF50, 78.6% #2196F3, 100% #9C27B0.
Do the lines need 50 bars?
No. Fewer bars use the high and low so far. The default window is 50.
Does Auto Fib repaint?
A closed bar stays. The live bar, and any bar still inside the 50-bar window, can move the high or the low.
Who wrote about these ratios?
Carolyn Boroden, Fibonacci Trading: How to Master the Time and Price Advantage (McGraw-Hill, 2008). The ratios themselves are the standard retracement set.
Is 50% a Fibonacci ratio?
No. It is the midpoint, drawn with the Fibonacci set because traders use it the same way.
Related indicatorsMore support and resistance tools.
All support and resistance indicatorsTry Auto Fib on a live chart.
Free. No download.
Works in your browser and on iPhone too.