QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Futures · technicalIntradayNIFTYlow complexity

Supertrend intraday

This is the classic Supertrend intraday system applied to NIFTY futures. A Supertrend line with a 10-bar ATR and a multiplier of 3 is drawn on 5-minute bars; when price closes above the line the strategy buys one lot of the near-month future, and it gets out when price closes back below the line or at 15:15, whichever comes first.
Buys one lot of NIFTY futures when price closes above the Supertrend(10, 3) line on 5-minute bars and sells when it closes back below, all within the day.
Market viewBullish
TradesNIFTY near-month futures, 1 lot, long only
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsBeginner
Trades a month13
Typical hold1.5 hours
Profitable months5 of 12
Longest losing run8 trades
Made money inDays NIFTY closed above its openNervous days after India VIX above 14.5Days that opened with a gap
Lost money inQuiet, narrow sessionsFlat opensDown days
Default settings
Symbol
ATR period
Multiplier
Bar minutes
Direction
Entry from
Entry to
Exit time
Lots
Backtest this strategy →Change any setting, pick your own period and run it in the Quantsapp web app. Backtesting is part of the Max plan. Pro+ members can use it now as a free trial.
1

How it trades

What it trades
Universe
NIFTY Intraday · 1 Oct 25 → 30 Sep 26
Enters
Next tick after a 5-minute bar closing 09:30-15:00 flips Supertrend(10, 3) up
Legs
BUY FUT · Near month · Current month · 1 lot
Exits
signal A 5-minute bar closes back through the Supertrend line; exit on the next ticktime Anything still open at 15:15
Re-entry
Yes - every new upward flip in the entry window opens a new trade, several a day possible
Bars
5-minute bars built from the rolled near-month futures ticks, anchored at 09:15 each session. Supertrend runs continuously across sessions (as charting platforms draw it): ATR(ATR_PERIOD) Wilder on true range, bands = (H+L)/2 +/- MULTIPLIER x ATR with the usual "final band" ratchet, trend flips when a bar CLOSES through the active band.
Entry
a bar closing between ENTRY_FROM and ENTRY_TO whose close crosses above the Supertrend line (trend flips up) -> buy LOTS of the near-month future at the NEXT tick after that bar closes. DIRECTION = "both" also sells on a flip down (mirror); default is the source's long-only.
Exit
a bar closing below the Supertrend line (flip down) -> exit at the next tick; anything still open at EXIT_TIME is squared off.
Re-entry
no re-entry after an exit; only a NEW cross above the line opens a new trade (several per day possible).
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 156 trades · before costs
Net P&L−₹27,580
Win rate42%
Max drawdown−₹99,269
Avg per trade−₹177
Profit factor0.92
Worst trade−₹15,671
3

Where it made and lost money

In this test the Supertrend system made money only when the market gave it room to run. After evenings when India VIX closed above 14.5 it earned ₹61,711 over 44 trades, while calm evenings below 11.5 cost ₹43,591 over 46 trades. Quiet sessions with a range under 0.75% lost ₹58,616 over 58 trades, and flat opens lost ₹92,548 over 106 trades. Being long only, direction mattered most: +₹1,76,919 on 84 days NIFTY closed above its open, -₹2,10,186 on 71 days it closed below. A 3-ATR band needs a real move to flip and then to pay; small days produce late entries that are stopped by the flip back or the 15:15 exit.

Session direction on the entry day
NIFTY closed above its open+₹1,76,91984 trades61% won
NIFTY closed below its open−₹2,10,18671 trades18% won
How the entry day opened
Gap up of 0.4% or more+₹15,00915 trades67% won
Flat open−₹92,548106 trades37% won
Gap down of 0.4% or more+₹44,27234 trades44% won
India VIX the evening before
VIX below 11.5 (calm)−₹43,59146 trades33% won
VIX 11.5-14.5 (normal)−₹51,38765 trades40% won
VIX above 14.5 (nervous)+₹61,71144 trades52% won
Day of the week
Monday+₹38,96932 trades50% won
Tuesday−₹34,16334 trades35% won
Wednesday+₹13,46526 trades42% won
Thursday+₹23,78130 trades47% won
Friday−₹59,64832 trades34% won
Kind of session on the entry day
Quiet session (range under 0.75%)−₹58,61658 trades34% won
Trend day (closed near the high or low)+₹17,36235 trades46% won
Choppy day (wide range, closed mid-range)+₹7,98762 trades45% won
Expiry day (NIFTY weekly)
Expiry day−₹39,14838 trades37% won
Other days+₹5,881117 trades43% won
Trend going in
Uptrend (NIFTY above its 20-day average)−₹38,47466 trades38% won
Downtrend (NIFTY below its 20-day average)+₹5,20689 trades44% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Build 5-minute bars from near-month NIFTY futures, starting at 09:15 each session.
  2. Draw Supertrend(10, 3): an ATR-based band that trails price and flips side when a bar closes through it. The line carries over from one day to the next.
  3. If a 5-minute bar that closes between 09:30 and 15:00 flips the trend up, buy one lot of the future on the next tick.
  4. If a later bar closes below the line, sell the future on the next tick. A fresh upward flip can open another trade the same day.
  5. At 15:15, close any position still open. Nothing is carried overnight.
  6. By default only long trades are taken; the Direction setting can add short trades on downward flips.

Why traders use it

Supertrend turns a trend-following idea into one visible line: above it you are long, below it you are out. Because the band is built from ATR, it widens on volatile days and tightens on quiet ones, so the exit adapts to conditions without manual tweaking. The 10 and 3 settings are the defaults on most charting tools, which is why this exact version is so widely tested by Indian futures traders looking for a mechanical intraday system.

Works best whenVolatile, directional up days, especially after a nervous India VIX close or a gapped open, when one upward flip catches a long run. In this test the system's gains came from days when NIFTY closed above its open.
Struggles whenQuiet sessions with a small range and flat opens, where the band flips late and the move is too small to pay, and any day NIFTY closes below its open, when a long-only system can only lose.

The year in plain words

On NIFTY futures from 1 Oct 2025 to 30 Sep 2026 with default settings, the system took 156 trades and won only 42% of them, losing ₹27,580 before costs (profit factor 0.92). Winners averaged ₹4,955 against ₹3,842 for losers, but there were too few of them. Slightly more trades ended at the 15:15 square-off (81) than on a Supertrend flip (75). April and May made ₹33,656 and ₹37,136, yet October alone lost ₹30,409, and the drawdown reached ₹99,269. After ₹20 per order and bid-ask slippage the loss widens to ₹67,079.

What the settings do

ATR periodHow many bars the ATR averages over. A longer period makes the band smoother and slower to react; a shorter one tracks recent volatility more closely.MultiplierHow many ATRs the band sits away from price. Smaller values flip more often and catch moves earlier but whipsaw more; larger values give fewer, later signals.Bar minutesThe bar size the indicator runs on. Shorter bars produce many more signals and more cost; longer bars trade less often.DirectionLong only (the default) buys on upward flips and stays flat otherwise. Setting it to both also sells the future when the trend flips down.Entry fromThe earliest time a signal bar may close for a new trade. Skipping the first quarter-hour avoids opening noise.Entry toThe latest time a signal bar may close for a new trade, so late flips with little session left are ignored.Exit timeWhen any open position is squared off, keeping the system strictly intraday.

Risks

  • One lot of NIFTY futures is a large position; a single bad trade lost ₹15,671 in this test.
  • Whipsaw days can generate several losing trades in a row, and each round trip pays costs.
  • Exits happen only on a closed bar plus the next tick, so a sharp move inside a 5-minute bar is not cut short.
  • Futures need margin, and a drawdown near ₹1 lakh before costs can last for months.

Who it suits

Traders who prefer a simple, chart-based rule they can follow or automate on futures, have margin for at least one NIFTY lot, and can sit through long losing stretches waiting for trend months.

5

Questions traders ask

What are the usual Supertrend settings for intraday trading?

The most common setting is a 10-period ATR with a multiplier of 3, which is what this backtest uses on 5-minute bars. Traders who want faster signals lower the multiplier or the bar size, but that also raises the number of false flips and trading costs.

Is the Supertrend intraday strategy profitable on NIFTY?

Not in this test. From 1 Oct 2025 to 30 Sep 2026 the long-only version lost ₹27,580 before costs and ₹67,079 after ₹20 per order and bid-ask slippage, with a maximum drawdown of ₹99,269 before costs. Two strong months could not offset the rest. Past results do not guarantee future ones in either direction.

Why does the backtest buy on the next tick instead of the bar close?

You only know a bar has closed above the line after the bar is complete, so the earliest realistic fill is the first trade after that. Filling at the bar's own close price would use information you could not have acted on, which flatters results.

Does the strategy hold positions overnight?

No. Every open position is squared off at 15:15, well before the 15:40 F&O close, so there is no overnight gap risk. The Supertrend line itself, however, is calculated continuously across days.

6

Before you rely on it

ADAPTED FOR TODAY'S NSE RULESSource examples are cash (NHPC MIS) / BANKNIFTY; applied to NIFTY futures, sized in lots. 15:15 square-off is kept; it is well before both the 15:30 and the 15:40 (from 3 Aug 2026) close.
WATCH OUTsmall-multiplier / 1-minute versions whipsaw and are cost-sensitive; results quoted by the sources ignore brokerage. This run is gross of costs.
WHERE THE RULES WERE UNCLEAR · OUR CHOICESThe vectorbt template fills at the signal bar's close; here the fill is the first tick AFTER the bar closes.
Also known assupertrend 10 3supertrend intradayAlways-in Supertrend(5,1) stop-and-reverse on 1-min bars
Backtests run on historical NSE data with fills at the last traded price. "Before costs" excludes brokerage, taxes and slippage. Quantsapp is not recommending any strategy; it is just a backtesting utility. Past results are not a promise of future returns.

Log in or sign up

Enter your mobile number. New to Quantsapp? The same OTP creates your free account.

+91

By continuing you agree to the Terms of Use and Privacy Policy.