TradingView setup

Best Fibonacci retracement settings for TradingView

A useful Fibonacci template is simple enough to read at a glance and consistent enough to test. The ratios matter, but the swing anchors and chart scale usually cause more mistakes than the level list.

Direct answer

Start with 0, 0.236, 0.382, 0.5, 0.618, 0.786, and 1. Show prices and level values, keep the drawing direction consistent with the completed swing, and use logarithmic calculation only when the chart itself is logarithmic. No Fibonacci setting can predict a reversal.

Inputs to record before calculating

Core levels

0 to 1, with five pullback ratios

Bullish anchor

Completed swing low to swing high

Bearish anchor

Completed swing high to swing low

Scale rule

Match the Fib calculation to the chart scale

A clean baseline level set

This template covers shallow, middle, and deep pullbacks without filling the chart with lines. The levels are reference zones, not automatic entries.

LevelKeep it?What it tells you
0YesThe end of the measured move
0.236YesA shallow pullback in a strong move
0.382YesThe upper edge of a common reaction area
0.5YesThe midpoint, widely watched but not a Fibonacci ratio
0.618YesThe golden-ratio pullback level
0.786YesA deep pullback near the edge of the measured swing
1YesThe start of the measured move
1.272 and 1.618OptionalExtension references after price clears the swing

A repeatable chart workflow

  1. 1

    Choose the trading timeframe

    Use the timeframe that controls the decision. A daily setup should not use anchors picked from a noisy five-minute move.

  2. 2

    Mark a completed impulse

    Pick a clear swing with a visible start and end. If the latest pivot is still forming, wait rather than moving the anchor every bar.

  3. 3

    Draw in the direction of the move

    For an advance, draw from the swing low to the swing high. For a decline, draw from the swing high to the swing low.

  4. 4

    Open Style and remove clutter

    Keep prices and level values visible. Turn off ratios you do not use, reduce background opacity, and extend lines only as far as the analysis needs.

  5. 5

    Write the confirmation rule

    Decide what must happen at a level before it matters, such as a close back above the zone, a volume condition, or a break of local structure.

How I keep the analysis consistent

I keep one baseline template for SPY, QQQ, and liquid stocks so a chart change does not quietly change the method.

When I review a daily setup, I place the anchors on daily pivots first and only drop to an intraday chart for timing.

I do not add a ratio because it matched one old trade. A new level has to earn its place through repeated tests.

The ratios are only half of the setup

Two traders can use the same ratios and get different lines because they chose different pivots. Start with the price move you are trying to measure. A completed impulse should be obvious without moving the anchors to make a later bounce look accurate.

Wicks versus candle bodies are another source of disagreement. I normally use the full wick when it marks the true extreme. If one isolated wick came from a bad print or a thin session, I record why I used a body close instead. Consistency matters more than finding the prettiest fit.

What to change in the TradingView Style panel

TradingView lets you toggle individual ratios, prices, labels, background fill, line extensions, and the Reverse option. Show both price and ratio until you can audit the drawing without opening settings. Keep the background faint so candles remain readable.

Reverse is useful when the level order appears upside down, but it should not cover a bad anchor choice. Check the first and second coordinates before flipping the drawing.

  • Use one line color or a small color family instead of a different bright color for every ratio.
  • Keep 0 and 1 visible so the measured range is clear.
  • Add 1.272 and 1.618 only when the same drawing also supports target planning.
  • Lock the drawing after the anchors are final to prevent accidental movement.

Match logarithmic settings to the chart

TradingView has a "Fib levels based on log scale" option when the chart uses a logarithmic price scale. That setting changes the level calculation. It can matter on a large crypto move or a long stock history where percentage change is more useful than equal dollar spacing.

Do not mix a logarithmic chart with a linear Fib calculation and then compare the output with someone using log-based levels. First confirm the chart scale, then make the drawing use the same basis.

Adjust the display, not the math, for each timeframe

The ratios do not need a special scalping set or swing-trading set. What changes is the measured swing, the noise around each level, and how much confirmation you require.

  • On intraday charts, use a completed session move or another clearly defined impulse and expect more false touches.
  • On daily and weekly charts, keep wider reaction zones and wait for a closing-price confirmation when the plan calls for it.
  • For crypto, confirm the exchange and pair because XRPUSD and XRPUSDT candles can print different extremes.
  • For alerts, choose crossing or entering-channel conditions that match the rule instead of treating every touch as a trade.

Turn a drawing into a rule you can test

A Fib line becomes useful only after you define entry, invalidation, and no-trade conditions. For example, a long setup might require price to enter the 0.5 to 0.618 zone, close back above 0.5, and remain above the original swing low. That is specific enough to code and review.

Pineify can turn the written rule into executable Pine Script for TradingView. The script should expose the pivot depth, active ratios, confirmation rule, and alert condition as inputs. Then you can backtest the logic instead of judging it from a few chart screenshots.

Worked SPY example

Assume SPY made an illustrative move from a $500 swing low to a $520 swing high. This is a math example, not a current market level.

Bullish retracement price = high - ((high - low) x ratio)

Range = $20
38.2% = $520 - ($20 x 0.382) = $512.36
50% = $520 - ($20 x 0.5) = $510.00
61.8% = $520 - ($20 x 0.618) = $507.64

The calculation produces reference prices. It does not tell you whether SPY will reach them or reverse there.

Turn the settings into executable Pine Script

Use a written rule so the generated script has visible inputs, repeatable anchors, and alerts you can inspect.

Create a Pine Script v6 overlay that finds confirmed swing highs and lows with an adjustable pivot depth. Plot 0.382, 0.5, 0.618, and 0.786 retracement levels. Add inputs for line visibility, log-scale calculation, and alert conditions. Do not issue a trade signal unless the confirmation rule is true.
Build the rule in Pine Script

This page is an information tool, not investment advice. Fibonacci ratios describe possible reaction areas, not guaranteed support, resistance, entries, or returns. Check current market data and test any rule before risking capital.

Common questions