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

Chandelier exit flip

The Chandelier Exit hangs a trailing stop from the recent high, like a chandelier from a ceiling, three ATRs below the highest close of the last 22 bars, with a mirror line above the recent low. This strategy uses the two lines as a stop-and-reverse system on 15-minute NIFTY futures bars: it is always either long or short, flips when price closes through the active line, and holds positions across days.
Always in the market on NIFTY futures: long above an ATR trailing line hung from the recent high, short below one hung from the recent low, flipping on 15-minute closes.
Market viewEither direction (follows the move)
TradesNIFTY near-month futures, 1 lot, long or short
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsIntermediate
Trades a month19.7
Typical hold22.0 hours
Profitable months5 of 12
Longest losing run13 trades
Made money inTrend days (+₹3,03,003 over 53 trades)After VIX above 14.5Weeks with a move of more than 1%
Lost money inChoppy days (−₹1,77,062 over 86 trades)After VIX below 11.5NIFTY within 1% while held
Default settings
Symbol
ATR period
Multiplier
Use close extremes
Bar minutes
Zlsma filter
Zlsma period
Roll 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 Positional · 1 Oct 25 → 30 Sep 26
Enters
Next tick after a 15-minute close through the active Chandelier line; always in the market
Legs
BUY FUT · near month · Near month, rolled each expiry · 1 lotSELL FUT · near month · Near month, rolled each expiry · 1 lot
Exits
trail Close through the opposite Chandelier line (3 ATR from the 22-bar extreme): fliproll Futures expiry day 15:15: closed and same side reopened next monthtime End of the test window
Re-entry
Immediate - every exit is a reversal
Bars
BAR_MINUTES bars of the near-month future, anchored at 09:15, continuous across sessions.
Lines
long line = highest close of the last ATR_PERIOD bars - MULTIPLIER x ATR(ATR_PERIOD) (Wilder), short line = lowest close + MULTIPLIER x ATR. With USE_CLOSE_EXTREMES off the bar highs / lows are used. Each line only ratchets in the trade's favour while the previous close stays on its side.
Signal
a bar closing above the previous bar's short line turns the trend up; a close below the previous bar's long line turns it down.
Entry
stop-and-reverse, LOTS of the future at the first tick after the signal bar closes. Always in: the first trade opens on the first bar of the test in the current trend.
Filter
ZLSMA_FILTER on - be long only while the close is also above ZLSMA(ZLSMA_PERIOD) of the same bars (short only below it); a close back through the ZLSMA goes flat until both agree again.
Exit
the opposite flip (the line is the trailing stop), or the ZLSMA cross with the filter on.
Roll
a futures contract cannot be held past its expiry. On the futures expiry day the position is closed at ROLL_TIME ("monthly roll") and the same side re-opened on the new near month at the next session's first tick.
End
whatever is open is closed at the last tick of the test window.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 236 trades · before costs
Net P&L+₹1,61,945
Win rate33%
Max drawdown−₹1,62,129
Avg per trade+₹686
Profit factor1.16
Worst trade−₹34,073
3

Where it made and lost money

As an always-in trend follower it needs movement. Trades held while NIFTY fell more than 1% made ₹5,33,848 over 32 trades and those held through a rise of more than 1% made ₹2,68,997 over 23, because the 3-ATR line trails far enough back to stay with a real trend. When NIFTY moved less than 1%, 90 trades lost ₹1,66,325 as price crossed the line back and forth. By entry day, trend days made ₹3,03,003 over 53 trades and choppy days lost ₹1,77,062 over 86. After a VIX close above 14.5 it made ₹2,68,775 over 59 trades; after VIX below 11.5 it lost ₹67,964 over 73.

Market while the trade was held
NIFTY rose over 1% while held+₹2,68,99723 trades65% won
NIFTY within ±1% while held−₹1,66,32590 trades33% won
NIFTY fell over 1% while held+₹5,33,84832 trades81% won
Kind of session on the entry day
Quiet session (range under 0.75%)+₹38,35196 trades28% won
Trend day (closed near the high or low)+₹3,03,00353 trades51% won
Choppy day (wide range, closed mid-range)−₹1,77,06286 trades27% won
India VIX the evening before
VIX below 11.5 (calm)−₹67,96473 trades26% won
VIX 11.5-14.5 (normal)−₹36,519103 trades31% won
VIX above 14.5 (nervous)+₹2,68,77559 trades44% won
Expiry day (NIFTY weekly)
Expiry day−₹77,84753 trades30% won
Other days+₹2,42,139182 trades34% won
Session direction on the entry day
NIFTY closed above its open−₹53,398112 trades32% won
NIFTY closed below its open+₹2,17,689123 trades33% won
How the entry day opened
Gap up of 0.4% or more−₹31,19336 trades28% won
Flat open+₹1,65,520153 trades35% won
Gap down of 0.4% or more+₹29,96546 trades28% won
Day of the week
Monday+₹14,21738 trades32% won
Tuesday−₹43,64448 trades31% won
Wednesday+₹13,28257 trades30% won
Thursday+₹20,57245 trades33% won
Friday+₹1,38,66246 trades37% won
Trend going in
Uptrend (NIFTY above its 20-day average)+₹83,431103 trades36% won
Downtrend (NIFTY below its 20-day average)+₹80,860132 trades30% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Build 15-minute bars of the near-month NIFTY future, continuous across sessions.
  2. Long line: the highest close of the last 22 bars minus 3 times the 22-bar ATR. Short line: the lowest close plus 3 ATRs. Each line only moves in the trade's favour.
  3. A bar closing above the short line turns the trend up; a close below the long line turns it down.
  4. Flip the position at the first tick after the signal bar: close the old side and open one lot the other way.
  5. Hold overnight with no other stop or target; the opposite line is the trailing stop.
  6. On futures expiry day, close at 15:15 and reopen the same side in the next month; the lines restart for the new contract.

Why traders use it

Tying the stop to volatility means it sits further away in wild markets and closer in calm ones, so normal noise is less likely to knock the trade out. Hanging it from the highest close lets a winning trade run while locking in more as the trend extends. Being always in the market means no big move is missed. The method is simple, objective and widely available on charting platforms, which keeps it popular with trend followers.

Works best whenSustained trends in either direction, especially sell-offs: in this test trades held through a fall of more than 1% made ₹5,33,848, and entries after a VIX close above 14.5 made ₹2,68,775.
Struggles whenSideways markets where NIFTY moves less than 1% while held and choppy, wide-range sessions; these lost ₹1,66,325 and ₹1,77,062 respectively as price kept crossing the line and forcing flips.

The year in plain words

On NIFTY from 1 Oct 2025 to 30 Sep 2026 the strategy logged 236 trades, about 20 a month with a median hold of 22 hours. Only 33% won, but the average win (₹15,438) was more than twice the average loss (₹6,458). Net P&L was ₹1,61,945 before costs and ₹1,04,829 after ₹20 per order and slippage. February to April made over ₹3.4 lakh as strong trends ran, while July and August lost over ₹1 lakh together. The ₹1,62,129 drawdown and a 13-trade losing streak show how rough the ride was.

What the settings do

ATR periodHow many bars the ATR and the highest or lowest close look back over. A shorter period reacts faster and flips more often.MultiplierHow many ATRs the line sits from the extreme. A larger multiple gives trends more room but gives back more before flipping.Use close extremesWhen on, the lines hang from the highest and lowest closes; when off, from bar highs and lows, which places them slightly further out.Bar minutesThe bar length. Shorter bars react faster but whipsaw more.Zlsma filterWhen on, a position is only held while the close is also on the same side of a zero-lag least-squares moving average; otherwise the strategy goes flat.Zlsma periodThe length of that moving average when the filter is on.Roll timeThe time on futures expiry day when the position is rolled to the next month.

Risks

  • Long losing streaks are normal: 13 in a row in this period, with a drawdown above ₹1.6 lakh.
  • Positions are held overnight with no stop other than the trailing line, so gaps go straight through it.
  • Profit depends on a few strong trend months; a year without them could lose heavily.
  • Frequent flips make costs significant, cutting about a third of the before-costs profit here.

Who it suits

Patient trend followers with margin for a NIFTY futures lot held overnight, who can sit through long losing streaks and large drawdowns while waiting for big moves.

5

Questions traders ask

What is the Chandelier Exit indicator?

It is a trailing stop placed a multiple of ATR below the highest price (or close) of recent bars for longs, and above the lowest for shorts. Because it uses ATR, the distance widens in volatile markets and narrows in quiet ones. Many traders use it as an exit; this strategy also uses it to reverse.

Is the Chandelier Exit strategy profitable on NIFTY?

In this backtest from 1 Oct 2025 to 30 Sep 2026 it made ₹1,61,945 before costs and ₹1,04,829 after ₹20 per order and bid-ask slippage, with a ₹1,62,129 drawdown before costs. Most of it came from February to April. Past results do not guarantee future ones.

What are the usual Chandelier Exit settings?

The classic settings are a 22-bar lookback and a multiplier of 3 ATR, which this strategy uses on 15-minute bars. Shorter lookbacks or smaller multipliers flip more often.

Why does a 33% win rate still make money?

Because winners ran much further than losers. The trailing line cuts losing trades fairly quickly but stays with winning trends, so the average win was more than twice the average loss.

6

Before you rely on it

WHERE THE RULES WERE UNCLEAR · OUR CHOICESThe pages list no defaults; the usual LeBeau 22 / 3.0 and 15-minute bars are used (spec interpretation). The ZLSMA variant is shown on 5-minute bars in the source - set BAR_MINUTES 5 with it. signals are known at the bar close and filled at the next tick, never at that close. Known pitfalls: an always-in trend follower on 15-minute bars whipsaws in ranges. Gross of costs.
Also known aschandelier exitATR trailing stopCE
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.