QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Option selling · intradayIntradayNIFTYmedium complexity

Supertrend option selling

A trend-following way to sell options. A Supertrend line on 5-minute NIFTY futures bars sets both the direction and the strike: in an uptrend the strategy sells the put nearest the Supertrend value, in a downtrend the call. The idea is that the Supertrend acts as support or resistance, so the sold option should expire away from the money. A touch of the line ends the trade.
Sells a NIFTY weekly put in an uptrend or a call in a downtrend at the strike nearest a 5-minute Supertrend line, with a far hedge, exiting when price touches the line.
Market viewEither direction (follows the move)
TradesNIFTY weekly options, 1 sold + 1 bought hedge
RiskDefined (max loss known at entry)
CapitalHedged option-selling margin
SuitsIntermediate
Trades a month48.8
Typical hold1.1 hours
Profitable months8 of 12
Longest losing run10 trades
Made money inTrend days that close near the high or lowDays other than the weekly expiry
Lost money inNIFTY weekly expiry daysChoppy wide-range days that close mid-range
Default settings
Symbol
St period
St multiplier
Start time
Entry mode
Max trades
Lots
Martingale lots
Max lots
Slm %
Min premium
Hedge distance
No entry minutes
Square off
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
First 5-minute bar close from 09:20
Legs
SELL PE · Strike nearest the Supertrend line (uptrend) · Nearest weekly · 1 lotBUY PE · Sold put - 900 points · Nearest weekly · 1 lotSELL CE · Strike nearest the Supertrend line (downtrend) · Nearest weekly · 1 lotBUY CE · Sold call + 900 points · Nearest weekly · 1 lot
Exits
signal Futures touch the Supertrend (10, 3) linestop Sold option 50% above its filltime Everything at 15:15
Re-entry
After a stop, at the next bar close in the current Supertrend direction; up to 3 runs a day, none in the last 40 minutes
Signal
Supertrend(ST_PERIOD, ST_MULTIPLIER) on 5-minute bars of the near-month future (bars anchored at 09:15, ATR Wilder, the usual band ratchet, computed continuously across sessions).
Entry
at the first 5-minute bar close at or after START_TIME: Supertrend below the price (up-trend) -> SELL a PUT; above (down-trend) -> SELL a CALL. Strike = the listed strike nearest the Supertrend value, nearest weekly expiry, LOTS lots; filled at the first tick after the bar closes. A run whose option trades below MIN_PREMIUM is skipped (the next bar is tried). With HEDGE_DISTANCE > 0 an option of the same type HEDGE_DISTANCE points further out is bought as a hedge, same lots.
Stop
the futures price touches the Supertrend line of the last completed bar (the line trails every bar; a flip puts it on the other side, which is a touch at once) -> close the position ("supertrend stop"); or the short option trades SLM_PCT % above its fill -> close ("premium stop").
Re-run
after a stop, at the next 5-minute bar close, up to MAX_TRADES runs a day. ENTRY_MODE "fixed_time": side from the Supertrend at that bar (may be the same side again); "st_change": wait for a bar whose trend differs from the last trade's side. Run n (0, 1, 2 ...) trades min(LOTS + n x MARTINGALE_LOTS, MAX_LOTS) lots. No new run within NO_ENTRY_MINUTES of the session close.
Exit
everything at SQUARE_OFF.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 586 trades · before costs
Net P&L+₹45,838
Win rate41%
Max drawdown−₹28,905
Avg per trade+₹78
Profit factor1.15
Worst trade−₹5,625
3

Where it made and lost money

In this test, trend days that closed near the high or low made ₹47,990 over 164 trades, more than the full year's profit: once the Supertrend side was right, the price moved away from the sold strike and the option decayed until 15:15. Choppy wide-range days lost ₹8,086 over 167 trades, as the price swung back to touch the line and forced a stop and a re-run. Weekly expiry days lost ₹12,750 over 125 trades with a 33% win rate, because a strike near the Supertrend line is close to the money and expiry-day gamma makes small moves costly; other days made ₹59,345 over 456.

Expiry day (NIFTY weekly)
Expiry day−₹12,750125 trades33% won
Other days+₹59,345456 trades43% won
Kind of session on the entry day
Quiet session (range under 0.75%)+₹6,690250 trades43% won
Trend day (closed near the high or low)+₹47,990164 trades40% won
Choppy day (wide range, closed mid-range)−₹8,086167 trades39% won
Day of the week
Monday+₹6,225111 trades44% won
Tuesday−₹8,314114 trades34% won
Wednesday+₹32,656121 trades45% won
Thursday−₹424114 trades37% won
Friday+₹17,462118 trades45% won
Session direction on the entry day
NIFTY closed above its open+₹43,325293 trades40% won
NIFTY closed below its open+₹3,270288 trades42% won
India VIX the evening before
VIX below 11.5 (calm)+₹19,984152 trades42% won
VIX 11.5-14.5 (normal)+₹24,332260 trades44% won
VIX above 14.5 (nervous)+₹2,278169 trades36% won
Trend going in
Uptrend (NIFTY above its 20-day average)+₹31,144281 trades42% won
Downtrend (NIFTY below its 20-day average)+₹15,450300 trades40% won
How the entry day opened
Gap up of 0.4% or more+₹13,34488 trades42% won
Flat open+₹10,516394 trades40% won
Gap down of 0.4% or more+₹22,73499 trades42% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Compute a Supertrend (period 10, multiplier 3) on 5-minute bars of the near-month NIFTY future.
  2. At the first bar close from 09:20, if the Supertrend is below price, sell the put at the strike nearest the Supertrend value; if above, sell the call, on the nearest weekly expiry.
  3. Buy a hedge of the same type 900 points further out, and skip any run whose sold option trades below 10 points.
  4. Exit when the futures price touches the Supertrend line, or when the sold option rises 50% above its entry price.
  5. After a stop, start a new run at the next bar close using the Supertrend direction at that time, up to three runs a day.
  6. No new run in the last 40 minutes of the session; close everything at 15:15.
  7. Adding lots after losses (martingale) is available but off by default.

Why traders use it

Supertrend is one of the most popular trend indicators among Indian intraday traders, and selling options in its direction combines a trend view with time decay. Instead of buying an option that needs a fast move, the trader sells one on the side the trend is moving away from, earning premium even if the market only drifts. Placing the strike at the Supertrend value ties the risk to a level the trader is already watching.

Works best whenIn this test, trend days that closed near their high or low, on days other than the weekly expiry, when price moved away from the Supertrend and the sold option decayed through the session.
Struggles whenNIFTY weekly expiry days, where a strike near the Supertrend line is close to the money and gamma is extreme, and choppy wide-range days, where price keeps swinging back to touch the line.

The year in plain words

With default settings on NIFTY from 1 Oct 2025 to 30 Sep 2026, the strategy made 586 runs, about 49 a month, and won 41%, finishing ₹45,838 ahead before costs with a profit factor of 1.15. Wins averaged ₹1,466 against ₹899 for losses. Most runs, 425, ended on a Supertrend touch, 52 on the premium stop and 109 at 15:15. April made ₹18,468 and June lost ₹11,246. Each run uses two legs, so costs added up: after ₹20 per order and bid-ask slippage the result was a ₹9,341 loss.

What the settings do

St periodThe ATR period used in the Supertrend. Longer periods give a smoother, slower line.St multiplierHow many ATRs the line sits from price. Larger values place the line, and so the strike, further away and flip less often.Start timeThe earliest bar close at which the first run can start.Entry modeFixed time re-enters at the next bar after a stop in the current direction; Supertrend change waits for the trend to flip before re-entering.Max tradesThe most runs in one day, including re-entries after stops.Martingale lotsLots added on each re-run after a loss. Zero keeps size fixed; positive values grow size into losing streaks.Max lotsA hard cap on the lots in any one run when martingale sizing is on.Slm %The rise in the sold option's premium, in percent, that triggers the premium stop.Min premiumRuns whose option trades below this premium are skipped, avoiding trades with too little to earn.Hedge distanceHow many points beyond the sold strike the hedge is bought. Zero removes the hedge and leaves the short option uncovered.No entry minutesNo new run starts this many minutes before the session close.Square offWhen anything still open is closed.

Risks

  • Frequent stops and re-runs mean many orders, and costs turned a gross profit into a net loss.
  • The sold strike sits near the Supertrend line, so it can be close to the money and react sharply to small moves.
  • Turning on martingale sizing adds lots during losing streaks, which can multiply losses.
  • Without the hedge the short option has open-ended risk on a sudden move.

Who it suits

Intraday option sellers who already follow Supertrend and want to sell premium in its direction with a hedge, and who can automate several runs a day. It suits those with low per-order costs and hedged option-selling margin.

5

Questions traders ask

What is Supertrend option selling?

It sells an option on the side the Supertrend says the market is moving away from: a put in an uptrend, a call in a downtrend. Here the strike is placed at the Supertrend line itself, and the trade ends if the price touches that line.

Is Supertrend option selling profitable on NIFTY?

In this backtest from 1 Oct 2025 to 30 Sep 2026 it made ₹45,838 before costs but lost ₹9,341 after ₹20 per order and bid-ask slippage, with statutory charges extra. Expiry days were the weakest. Past results do not guarantee future ones.

What Supertrend settings does it use?

Period 10 and multiplier 3 on 5-minute bars of the NIFTY near-month future. Both can be changed; a larger multiplier moves the line, and so the sold strike, further from the price.

Why is martingale sizing off by default?

A martingale adds lots after each loss, hoping the next run wins it back. It can recover small losses but grows the position exactly when the market is going against the strategy. It is available as a setting, capped by “Max lots”, but not used in the default run.

6

Before you rely on it

ADAPTED FOR TODAY'S NSE RULESNIFTY weekly instead of the source's BANKNIFTY. The source's 1,700-point hedge was BANKNIFTY-scaled (~3.9% of the index); 900 points keeps that distance on NIFTY. The "40 minutes before close" cutoff is measured from day.close (15:30, or 15:40 from 3 Aug 2026), not a hard-coded 15:30.
WATCH OUTMartingale sizing (see above). Bars built from LTP ticks may differ slightly from a charting platform's.
WHERE THE RULES WERE UNCLEAR · OUR CHOICESThe exit logic lives outside the strategy file in the source. As the spec reads it: the stop is the moment the future touches the Supertrend, capped at SLM_PCT % of the premium; a re-run happens only after a stop. The Supertrend came from a remote signal server in the source; it is rebuilt here from futures ticks. The strike is matched to the futures-based Supertrend value directly (no carry adjustment), as the source did.
Also known asDOSsupertrend option selling
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.