Free trial
Menu
Strategy guide

Build Rules for Fibonacci Retracement Trades

A Fibonacci retracement strategy looks for entries when a trending market pulls back to one of a set of ratio levels between a swing low and a swing high. The most watched levels are 38.2%, 50% and 61.8%. Traders use them as zones where a pullback may end, then wait for the price to confirm before entering.

QuantPower Research · Updated 3 Nov 2026 · 4 min read

This guide explains how Fibonacci levels are drawn, rules you can test, a worked example on Nifty, the limits of the method and how to make it objective enough to automate.

At a glance

Fibonacci retracement strategy
TypePullback entry in a trend
ToolRetracement levels 23.6%, 38.2%, 50%, 61.8%, 78.6%
MarketsNifty, Bank Nifty and stock futures, liquid stocks
Timeframes15-minute to daily
Long entryPrice pulls back to the 50% to 61.8% zone in an uptrend and turns up
StopBelow the 78.6% level or the swing low
TargetThe previous high, then the 127.2% or 161.8% extension

How Fibonacci retracements are drawn

Pick a completed swing: a clear low and the high that followed it in an uptrend. The levels are the high minus a share of the move:

Formula
Retracement level = swing high − (swing high − swing low) × ratio
Example
Nifty rises from a swing low of 24,200 to a high of 25,400, a move of 1,200 points.
38.2% retracement: 25,400 − 458 = 24,942
50% retracement: 25,400 − 600 = 24,800
61.8% retracement: 25,400 − 742 = 24,658
78.6% retracement: 25,400 − 943 = 24,457

The 38.2% and 61.8% ratios come from the Fibonacci number sequence. The 50% level is not a Fibonacci ratio, but traders watch it because a half-retracement is a common pause point.

Extensions project targets beyond the high: the 127.2% extension is 25,400 + 0.272 × 1,200 = 25,726, and the 161.8% extension is 25,400 + 0.618 × 1,200 = 26,142.

The rules

Long trades

  1. Trend: the swing is part of an uptrend, such as price above its 50-period average with higher highs and higher lows.
  2. Zone: the price pulls back into the 50% to 61.8% zone.
  3. Confirmation: a bullish reversal candle closes in the zone, such as a hammer or a bullish engulfing candle. See candlestick patterns.
  4. Entry: above the high of the confirmation candle.
  5. Stop: below the 78.6% level.
  6. Target: half the position at the previous high, the rest at the 127.2% extension or on a trailing stop.

Short trades

The mirror image in a downtrend, with retracements measured up from the swing low.

A worked example

Using the swing above, Nifty futures pull back to 24,700, inside the 50% to 61.8% zone, and form a hammer with a high of 24,740.

  • Entry: 24,745, above the hammer's high
  • Stop: 24,440, below the 78.6% level, a risk of 305 points
  • First target: 25,400, a gain of 655 points
  • Second target: 25,726

One lot of 65 risks ₹19,825 for a first target of ₹42,575. The numbers illustrate the rules, not a result.

Fibonacci retracement rules: swing from 24,200 to 25,400, a hammer in the 50–61.8% zone, buy 24,745, stop 24,440, targets 25,400 and 25,726 (illustration)

The limits of Fibonacci levels

  • The swing is a choice. Two traders can pick different highs and lows and get different levels.
  • There are many levels. With five levels close together, the price is near one of them most of the time. A level "working" is often hindsight.
  • No proven edge on its own. Studies of Fibonacci levels have not shown that prices respect them more than other round numbers. Treat them as a way to plan entries and stops, and look for agreement with other evidence: prior support and resistance strategy, a moving average, VWAP or a round number.

Making the method objective

To backtest or automate the strategy, the swing must be defined by a rule, for example:

  • the highest high and lowest low of the last 50 candles, with the low before the high for an uptrend, or
  • a zigzag rule that marks a swing after a reversal of a set percentage, such as 2%.

With a fixed rule, the levels can be calculated the same way every time.

Automating a Fibonacci strategy

In QuantPower's strategy builder, express the zone as a price condition based on the swing rule, add the confirmation candle as an entry condition and the 78.6% level as the stop. Use market alerts if you prefer to confirm the candle yourself, and test the rules in paper trading.

Backtesting a Fibonacci strategy

  • Fix the swing rule before you test, and do not change it to fit results.
  • Compare entries at the 50% to 61.8% zone with entries at random points in the same pullbacks. If the levels add nothing, the results will be similar.
  • Include trades where the price went straight through the zone.

See look-ahead bias: a swing high is only known after the price has turned, so a backtest must not use it before then.

Common mistakes

  • Redrawing the levels after the fact. Pick the swing before the pullback, not after.
  • Buying the level without confirmation. A falling price passes through every level on the way down.
  • Ignoring the trend. Retracements are for trends. In a range, the levels mean little.

Frequently asked questions

Which Fibonacci level is the most important?

Traders watch 61.8% and 50% the most. A pullback beyond 78.6% often means the trend has failed.

Does Fibonacci work in intraday trading?

The levels can be drawn on any timeframe, but swings on short charts are small and noisy. Use them with other evidence.

What is the golden ratio in trading?

The 61.8% level, derived from the golden ratio of about 1.618.

Are Fibonacci extensions reliable targets?

They are a way to plan targets, not a forecast. Many traders take part of the profit at the previous high and trail the rest.

Sources

  • Murphy, J. J. (1999). Technical Analysis of the Financial Markets. New York Institute of Finance
  • Kirkpatrick, C. D. and Dahlquist, J. R. (2010). Technical Analysis: The Complete Resource for Financial Market Technicians. FT Press
The example on this page is hypothetical and for illustration only. Backtested or simulated results do not guarantee future results. Trading involves substantial risk.