Register
Strategy guide

Understand a Supertrend Trading Strategy

Supertrend is a trend-following indicator that draws a single line above or below the price. When the price is above the line, the trend is up; when it is below, the trend is down. The line moves with volatility, using the Average True Range, which makes it a popular choice for both entries and trailing stops on Nifty, Bank Nifty and stocks.

QuantPower Research · Updated 14 Nov 2026 · 17 min read

Its appeal is that one line answers two questions at once: which way is the trend, and where should the stop be. Its weakness is the same as every trend rule: in a sideways market the line flips back and forth, and each flip is a small loss. This guide explains how Supertrend is calculated, step by step with numbers, the exact trading rules, two worked trades on Nifty futures with costs, the common settings, the filters that reduce false flips, how to trade Supertrend signals with options, and how to build, test and run a Supertrend strategy in QuantPower.

At a glance

Supertrend strategy
StyleTrend following
InstrumentsIndex futures, options on index signals, stocks
Timeframe5-minute to daily candles
IndicatorSupertrend, commonly with ATR period 10 and multiplier 3
EntryA candle closes across the Supertrend line
ExitThe opposite crossing, which doubles as a trailing stop
SuitsSteady trends with stable volatility
Struggles inSideways markets and sudden spikes that reverse

A short history of Supertrend

Supertrend is built on the Average True Range (ATR), which J. Welles Wilder Jr. introduced in 1978 in *New Concepts in Technical Trading Systems*, the same book that introduced RSI and ADX.1 Wilder's idea was to measure volatility by the full range a market covers in a period, including gaps from the previous close, rather than by the high-to-low range alone. Volatility-based stops, set a multiple of ATR away from the price, followed directly; they became a standard part of trend-following systems through the 1980s and 1990s.2

The Supertrend indicator itself is commonly attributed to the French trader Olivier Seban, who popularised it in the 2000s. It packages the ATR stop into a single line that flips sides when the trend changes. In India it spread quickly with retail charting platforms in the 2010s, and became one of the most used indicators on 15-minute Nifty and Bank Nifty charts, both as an entry signal and as a trailing stop for trades entered by other rules.

How Supertrend is calculated

  1. Calculate ATR over a chosen period, such as 10 candles. True range is the largest of: high minus low, high minus the previous close, and the previous close minus the low. ATR is Wilder's smoothed average of the true range.
  2. Find the midpoint of each candle: (high + low) ÷ 2.
  3. Draw two basic bands. The upper band is the midpoint plus the multiplier times ATR, and the lower band is the midpoint minus the multiplier times ATR.
  4. Lock the bands so they only tighten. The final lower band can rise but not fall, unless the previous close was below it. The final upper band can fall but not rise, unless the previous close was above it.
  5. Pick the active line. While the trend is up, Supertrend is the final lower band. When a candle closes below it, the trend flips down and Supertrend becomes the final upper band, and the reverse.

A worked calculation

Six 15-minute candles of Nifty futures, multiplier 3, with the ATR values shown:

CandleHighLowCloseATRMidpointBasic lower bandFinal lower bandTrend
125,10025,00025,0708025,05024,81024,810Up
225,14025,04025,1207825,09024,85624,856Up
325,18025,09025,1607625,13524,90724,907Up
425,15025,06025,0807925,10524,86824,907Up
525,09024,98025,0008225,03524,78924,907Up
624,99024,88024,9008624,93524,67724,907Down

On candles 4 and 5 the basic lower band falls, but the final band stays at 24,907: that is the lock that makes Supertrend a trailing stop. On candle 6 the close, 24,900, is below 24,907, so the trend flips down. From candle 6, Supertrend is the final upper band, 25,193 (midpoint 24,935 plus 3 × 86), and it can only fall from there until the trend flips up again.

Two things in this table explain most of Supertrend's behaviour. A higher ATR pushes the bands further away, so the line gives the market more room when it is volatile. And the lock means the stop only ever moves in the trade's favour, however much the market swings inside the band.

The rules

  1. Buy when a candle closes above the Supertrend line, flipping it to an uptrend.
  2. Sell or exit when a candle closes below the line, flipping it to a downtrend.
  3. Use the line as a trailing stop. While long, the stop is the Supertrend line, which rises with the trend.
  4. Optionally reverse. Some versions go short on a downward flip rather than just exiting.
  5. Act on closed candles only. The line on the current candle can change until the candle closes.
  6. For intraday versions, close any open position by 3:15 pm.

Common settings

SettingsBand distance at an ATR of 80Behaviour
ATR 10, multiplier 3240 pointsThe common default, a balance of responsiveness and stability
ATR 7, multiplier 3240 points, but ATR reacts fasterMore signals
ATR 10, multiplier 2160 pointsTighter line, more frequent flips and whipsaws
ATR 14, multiplier 4320 pointsSlower, fewer but longer trades

A higher multiplier keeps you in trends longer but gives back more before exiting. A lower multiplier exits sooner but gets shaken out more often. The ATR period changes how quickly the band width adjusts to a change in volatility: a short period reacts within a few candles, a long period smooths over a burst of volatility.

The timeframe matters as much as the settings. Supertrend (10, 3) on a 5-minute chart flips many times a day; on a daily chart it may stay on one side for weeks. Choose the timeframe from how long you want to hold the trade, then test the settings on that timeframe.

A worked trade on Nifty futures

Supertrend rules: buy 25,085 when a candle closes above the line, the line trails below as the stop, sell 25,168 on a close below it (illustration)

This is a hypothetical example, not a result.

  • On a 15-minute chart with Supertrend (10, 3), Nifty futures close at 25,080, above the Supertrend line at 25,060. The trend flips up.
  • The trader buys one lot of 65 at the next price, 25,085. The initial stop is the Supertrend line at 25,060, a risk of 25 × 65 = ₹1,625.
  • As the market rises, the line rises with it. By 2:00 pm, futures are at 25,230 and the line has trailed up to 25,180.
  • A candle closes at 25,170, below the line. The trader sells at the next price, 25,168.
  • Gain: 83 points × 65 = ₹5,395 before costs. Charges for the round trip at ₹20 an order and the rates in force from 1 April 2026 come to about ₹972,3 leaving about ₹4,423.

The trailing line let the trade run during the trend and locked in most of the move. Note what the rule did not do: it did not sell at the high near 25,230. Every trailing stop gives back part of the move before it exits; on this trade that was 62 points, the price of staying in while the trend lasted.

The same rule in a sideways market

Now take a day when Nifty futures drift between 25,060 and 25,130. The 15-minute Supertrend flips three times:

TradeBuySellPointsP&L per lot before costsAfter about ₹970 in charges
125,12025,092−28−₹1,820about −₹2,790
225,09825,071−27−₹1,755about −₹2,724
325,11025,085−25−₹1,625about −₹2,594

Three small stops and three sets of charges cost about ₹8,100, more than the winning trade above earned. This is the normal pattern of a trend rule: several small losses in ranges, paid for by fewer, larger gains in trends. Whether the rule works over time depends on that balance, which only a test over many months can show. Note how much of each loss is charges: on a 25-point stop, the round trip costs about 15 points.

Supertrend on different instruments

The rules do not change from one instrument to another, but the numbers do:

  • Bank Nifty. The index moves more in points, so ATR and the band distance are larger. A 15-minute Supertrend (10, 3) on Bank Nifty futures often sits 400 to 700 points from the price. With a lot of 30, the rupee risk per lot is close to that of a Nifty lot, but the flips come at different times, because bank stocks react to their own news.
  • Stocks. Individual stocks gap on results, ratings changes and block deals. A gap can open far beyond the Supertrend line, so the exit fills well past the stop. Stock futures held to expiry settle by delivery of shares, so close or roll them before the expiry week.
  • Commodities. MCX crude oil and gold trade into the evening and react to overseas markets, so Supertrend on a commodity chart often flips around US data releases. The longer session means more candles a day on the same timeframe.

Whatever the instrument, act on closed candles and size each trade from the distance to the line.

A positional version on the daily chart

On a daily chart, Supertrend (10, 3) stays on one side of the price for weeks during a trend. A positional trader buys Nifty futures on a daily close above the line and holds until a daily close below it. The stop is far away, often 600 to 900 points on Nifty when daily ATR is 200 to 300, so the position is usually one lot or less of an account's risk budget, and many traders use options instead of futures to cap the rupee risk.

A daily trade runs past the monthly expiry more often than not, so the futures position must be rolled to the next month, which is a second round trip of charges. The daily version trades far less often than the intraday one: a handful of flips a year in a trending market, more in a sideways one. Its weakness is the size of the give-back: when the trend ends, the line is a long way below the last high.

Supertrend and other trend tools

ToolWhat it measuresHow the stop movesMain difference from Supertrend
Moving average crossoverTwo averages of the closeNo built-in stopSlower to react; no volatility adjustment
Parabolic SARPrice and an acceleration factorTightens faster as the trend agesExits sooner in long trends
Donchian channelHighest high and lowest low of N periodsSteps with the channelBreakout-based, ignores volatility
Chandelier exitATR from the highest highTrails from the extremeSimilar idea, anchored to the high rather than the midpoint

Supertrend's distinctive feature is the volatility adjustment combined with the lock: the stop is wider when the market is volatile, and it never moves against the trade. Traders who want to stay in long trends often prefer it to Parabolic SAR; traders who want early exits often prefer the reverse.

Reading the line with price action

The line is a tool, not a prediction. A few habits make it more useful:

  • Distance from the line. When the price is far above the line, the trade has a large open profit and a large give-back if it reverses. Some traders take partial profits when the distance exceeds two or three ATRs.
  • Pullbacks to the line. In a strong trend, the price often pulls back toward the line and moves on. A pullback that holds above the line can be a lower-risk point to add, with a small distance to the stop.
  • Flat line, rising price. When the line stops rising while the price climbs, ATR is widening: the market is getting more volatile, and the next flip may come with a gap.

A pre-trade checklist

  • The flip is on a closed candle.
  • The filter, if used, agrees with the trade.
  • The stop distance is known and the size follows from it.
  • The charges are small relative to the stop: on a 25-point stop, a 15-point round trip is too much.
  • No scheduled event falls before the trade is likely to end.
  • The rule was tested on range days as well as trend days.

When to stop trading the rule

Decide in advance what would make you pause: a losing streak longer than the backtest's longest, a drawdown more than about one and a half times the backtest's worst, or a market that has moved sideways for weeks. Pause, review the trades against the test, and restart only when the conditions that made the rule work are back.

When Supertrend works, and when it fails

Works best when:

  • The market trends steadily in one direction.
  • Volatility is stable, so the line does not flip on noise.
  • The trader holds through the pullbacks that stay above the line.

Struggles when:

  • The market chops sideways, flipping the line back and forth.
  • A sharp spike flips the trend and then reverses immediately.
  • Volatility changes quickly, widening or narrowing the bands at the wrong time.
  • The stop is tight relative to costs, as on 5-minute charts.

Filters

  • Higher timeframe trend. Take 15-minute signals only in the direction of the hourly or daily Supertrend. See the multi timeframe strategy.
  • VWAP. Take long signals only above VWAP and shorts only below. See the VWAP strategy.
  • Trend strength. Require ADX above about 20 to 25 to avoid sideways markets.
  • Time of day. Avoid new entries in the first 15 minutes, when the opening gap can flip the line, and in the last hour.
  • Minimum distance. Ignore a flip when the close is only a few points beyond the line; require, say, a tenth of ATR.

Every filter removes some false flips and delays some true ones. Test each filter on its own before combining them, so you know which one is doing the work. A filter that improves a backtest only on the period it was chosen on, and not on the months held back, is fitting noise rather than removing it.

Supertrend as a stop for other entries

Many traders use Supertrend only to exit. They enter on another signal, such as a breakout, a moving average crossover or a candle pattern, and then trail the stop on the Supertrend line. This separates two jobs: the entry rule decides when a move starts, and the Supertrend line decides when it has ended. Because the line only moves in the trade's favour, it suits trades that are meant to run, and suits less well trades with a fixed target.

Adding to and scaling out of a Supertrend trade

Because the line trails the price, a winning Supertrend trade lowers its own risk as it goes. Two common ways to use that:

  • Scaling out. Close half the position when the open gain equals the initial risk, and trail the rest on the line. In the worked trade, the initial risk was 25 points, so half would close at 25,110 for 25 points, and the other half would run to the exit at 25,168. The result is smaller than holding the full position, but the trade can no longer turn into a loss once the first half is closed and the line has risen above the entry.
  • Adding on pullbacks. In a strong trend, a pullback that holds above the line is a point where the distance to the stop is small. Adding a lot there raises the size of the trend trade without raising the risk much. Each added lot needs its own stop, and the combined risk must stay within the account's limit.

Both need more than one lot, and both should be tested as part of the rule, not decided during the trade.

Supertrend on Heikin-Ashi candles

Some traders draw Supertrend on Heikin-Ashi candles instead of ordinary ones. Heikin-Ashi candles average each candle with the previous one, which smooths the series, so the line flips less often on noise. The cost is lag: the flip arrives later, and the Heikin-Ashi close is not a price at which anyone traded, so the entry and exit must still be filled at real prices. A backtest of a Heikin-Ashi version must use real prices for fills, or it will look better than it can trade. A fair comparison runs both versions on the same candles and period, with the same stop and charges, and compares the number of trades, the average result after costs and the longest losing streak, not just the final total.

Supertrend with options

Some traders use Supertrend signals on the index to trade options: buy a call when the trend flips up, buy a put when it flips down, or sell options against the trend. Option buyers face time decay while waiting for the trend to develop, so a flip that leads only to a slow drift can lose money even when the direction was right. Option sellers face large losses if the trend accelerates. The option buying strategy guide explains how to choose strikes and exits for signal-driven option buying.

A middle way is a debit spread: on an upward flip, buy a call and sell a higher call, so time decay and the cost of a failed signal are both smaller. In QuantPower, a Supertrend signal can start an option algo, so the option legs, strikes and exits are set in the algo and the signal only decides when it starts.

Position sizing and risk

The stop distance is the gap between the entry and the Supertrend line, which changes with volatility. When ATR is high, the line is far away and each lot carries more risk, so fewer lots fit the same rupee limit. Size each trade so that hitting the line costs no more than your limit, using the position size calculator.

AccountRisk at 1%Stop distanceRisk per lotLots
₹5,00,000₹5,00025 points₹1,6253
₹5,00,000₹5,00075 points₹4,8751
₹10,00,000₹10,00075 points₹4,8752

Expect runs of small losses in sideways markets, and check the longest losing streak in your backtest before deciding how much to risk on each trade.

Building a Supertrend strategy in QuantPower

Supertrend is one of the 201 indicators in QuantPower's charts, so it can be used directly in a signal rule.

  1. Write the signal. In Algos → Signal algos, set the condition on Nifty futures with 15-minute candles: the close crosses above Supertrend (10, 3). Add filters in the same rule, which can hold up to 20 conditions in ALL and ANY groups, for example the hourly close above the hourly Supertrend. Signals are checked on closed candles.
  2. Choose what the signal does. One-touch tells you when it fires with the order ready; auto places the order itself after you arm it. A signal can also start or stop an option algo, such as a Buy Call or Bull Call Spread algo with ATM rule legs.
  3. Set the stop. For futures, an SL-M order at the Supertrend line, moved as the line rises, or an exit signal on the opposite flip. For an option algo, its own per-leg stops, M2M stop and exit time.
  4. Backtest the rule in backtesting: a rule backtest on Nifty futures reads up to 2,000 candles from your broker, about 80 trading days on 15-minute candles, with stop and target in per cent, an exit rule, slippage and charges. Compare (10, 3) with (7, 3) and (10, 2).
  5. Forward test it by arming the signal in auto mode on the Forward-test account, with test money, for a few weeks.
  6. Set the account controls before going live: Smart Exit squares off and stops algos at an account-level target or stop, the daily loss limit refuses new orders, and the kill switch stops a segment until its next session.

A signal that places its own order costs no tokens; an option algo it starts is charged as a live algo, 200 tokens per 28 days. Backtests cost 2 tokens a run, with the first 10 each week free.

Backtesting tips

  • Calculate the line using only past data. The locked-band logic is easy to get wrong in a spreadsheet.
  • Test neighbouring settings rather than one perfect pair.
  • Fill at the next price after the signal candle closes.
  • Include costs, since faster settings trade often and each futures round trip costs about 15 Nifty points.
  • Count the flips per month as well as the result: a rule that trades 60 times a month is a different business from one that trades 6 times.

Common Supertrend mistakes

  • Acting on the unfinished candle. The line can change until the candle closes.
  • Using the tightest settings to get more signals. More flips mean more costs and more whipsaws.
  • Ignoring the range days. A rule tested only on trending days looks better than it is.
  • A fixed lot size. The stop distance changes with volatility; the size should too.
  • Buying options on every flip. Time decay punishes flips that lead nowhere.

Where Supertrend is going

Supertrend's popularity in India has made it one of the most watched lines on intraday charts, which has a cost: when many traders act on the same flip, the first minutes after it see crowded orders and slippage. Higher STT on futures and options from 1 April 2026 has raised the cost of every flip,3 which favours slower settings and filters over frequent trading. With algos under the exchange's rules since the same date,4 a Supertrend rule that runs automatically does so through a broker's checks. The indicator itself will not change; how much each flip costs, and how many flips a trader can afford, will decide how it is used.

Start with 500 free tokens

Connect your broker, build a strategy and test it on paper before a single live order goes out.

Frequently asked questions

Which Supertrend settings are common for intraday?

ATR 10 with a multiplier of 3 is the most common starting point on 15-minute charts. Faster settings give more signals and more whipsaws. Test several on your instrument and timeframe.

Is Supertrend a good indicator for Nifty?

It is widely used on Nifty and Bank Nifty for trend following and trailing stops. It works well in trends and poorly in sideways markets, so filters help.

Can Supertrend be used as a stop loss?

Yes. Many traders use the Supertrend line as a trailing stop for trades entered with other signals.

Does Supertrend repaint?

The line for completed candles does not change. The value on the current, unfinished candle can change until the candle closes, so rules should act on closed candles only.

Why does the Supertrend line jump when it flips?

On a flip, the active line switches from one band to the other, from below the price to above it or the reverse. The distance between the bands is twice the multiplier times ATR, so the line jumps by that much.

How often does Supertrend flip?

It depends on the timeframe, the settings and the market. On a 15-minute Nifty chart with (10, 3), a trending week may see one or two flips, and a sideways week many more. Count the flips per month in a backtest before choosing the settings.

Can a Supertrend flip start an option algo in QuantPower?

Yes. A signal can start or stop an algo, so a flip on the index chart can start an option algo whose legs, strikes and exits you set in advance.

References

  1. J. Welles Wilder Jr., *New Concepts in Technical Trading Systems* (Trend Research, 1978)
  2. John J. Murphy, *Technical Analysis of the Financial Markets* (New York Institute of Finance, 1999)
  3. Union Budget 2026-27: securities transaction tax on futures and options raised from 1 April 2026 (indiabudget.gov.in)
  4. SEBI, circular on safer participation of retail investors in algorithmic trading, 4 February 2025, in force for every broker from 1 April 2026 (sebi.gov.in)
The examples on this page are hypothetical and for illustration. Trading involves substantial risk, and stop losses cannot guarantee the exit price. This guide is for education and is not investment advice.