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

Bollinger-Keltner squeeze

The Bollinger-Keltner squeeze looks for quiet spells that are about to end. When the Bollinger Bands shrink inside the Keltner Channel, volatility is unusually low; when they expand back out, the squeeze has released and a move is expected. This intraday NIFTY futures version trades that release on 15-minute bars, takes its direction from the MACD histogram, and trails the exit with an 8-period EMA.
Trades NIFTY futures when 15-minute Bollinger Bands expand out of the Keltner Channel, in the MACD direction, trailing the exit with an 8-period EMA.
Market viewEither direction (follows the move)
TradesNIFTY near-month futures, 1 lot
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsIntermediate
Trades a month6.3
Typical hold2.2 hours
Profitable months7 of 12
Longest losing run5 trades
Made money inTrend days (+₹1,15,760 over 23 trades)After VIX above 14.5Sessions that closed below their open
Lost money inChoppy days (wide range, closed mid-range)After VIX between 11.5 and 14.5Mondays
Default settings
Symbol
Mode
Bar minutes
Bb period
Bb std
Kc period
Kc mult
Trail EMA
SL %
Target %
Entry from
Last entry
Exit time
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 Intraday · 1 Oct 25 → 30 Sep 26
Enters
Next tick after a 15-minute squeeze release, side from the MACD histogram, 09:30-14:45
Legs
BUY FUT · near month · Near month · 1 lotSELL FUT · near month · Near month · 1 lot
Exits
stop Bollinger middle line at the release bartrail After a close beyond the 8 EMA, the first tick through that bar's low (high)time 15:15
Re-entry
Only on a new squeeze release after the trade has closed
Bars
BAR_MINUTES bars of the rolled near-month future, anchored at 09:15, continuous across sessions.
Squeeze
Bollinger Bands (BB_PERIOD SMA +/- BB_STD standard deviations) entirely inside the Keltner Channel (KC_PERIOD EMA +/- KC_MULT x ATR(KC_PERIOD), Wilder ATR).
Signal
the squeeze was on at the previous bar's close and is off at this bar's close (release). MACD(12, 26, 9) histogram above 0 -> long, below 0 -> short.
Entry
LOTS of the future at the tick after the release bar closes; release bars closing ENTRY_FROM .. LAST_ENTRY (MODE "intraday").
Stop
intraday - the Bollinger middle at the release bar (no trade if the entry tick is already beyond it). positional - SL_PCT % from the entry.
Exit
intraday - once a bar closes below the 8-period EMA (long; above it for a short), the first tick through that bar's low (high) exits; a newer such bar replaces it; anything open goes at EXIT_TIME. positional - TP_PCT % target, held across days, closed at ROLL_TIME on the futures expiry day and re-opened on the new near month at the next session's first tick with the same stop and target.
Re-entry
none - only a new release, after the previous trade has closed.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 76 trades · before costs
Net P&L+₹80,059
Win rate50%
Max drawdown−₹17,492
Avg per trade+₹1,053
Profit factor1.8
Worst trade−₹9,120
3

Where it made and lost money

Nearly all the profit came from trend days that closed near their high or low: 23 trades made ₹1,15,760, because a squeeze release on such a day keeps running and the 8 EMA trail lets it. Choppy days lost ₹16,658 over 14 trades and quiet days ₹23,952 over 38, as releases faded into the range. Days that closed below their open made ₹84,083 over 43 trades, showing the short side did well in this period. After a VIX close above 14.5 trades made ₹60,320 over 18, while the normal 11.5 to 14.5 band lost ₹7,430 over 37.

Kind of session on the entry day
Quiet session (range under 0.75%)−₹23,95238 trades39% won
Trend day (closed near the high or low)+₹1,15,76023 trades74% won
Choppy day (wide range, closed mid-range)−₹16,65814 trades36% won
Session direction on the entry day
NIFTY closed above its open−₹8,93232 trades41% won
NIFTY closed below its open+₹84,08343 trades56% won
India VIX the evening before
VIX below 11.5 (calm)+₹22,26120 trades55% won
VIX 11.5-14.5 (normal)−₹7,43037 trades43% won
VIX above 14.5 (nervous)+₹60,32018 trades56% won
Day of the week
Monday−₹19,48812 trades33% won
Tuesday+₹23,64515 trades73% won
Wednesday+₹28,34418 trades44% won
Thursday−₹2,81411 trades27% won
Friday+₹39,41818 trades56% won
Expiry day (NIFTY weekly)
Expiry day+₹14,61716 trades69% won
Other days+₹60,53459 trades44% won
How the entry day opened
Gap up of 0.4% or more+₹11,1825 trades60% won
Flat open+₹50,11860 trades48% won
Gap down of 0.4% or more+₹13,85110 trades50% won
Trend going in
Uptrend (NIFTY above its 20-day average)+₹20,30846 trades48% won
Downtrend (NIFTY below its 20-day average)+₹54,84329 trades52% 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 days, with 20-period Bollinger Bands (2 standard deviations) and a 20-period Keltner Channel (1.5 ATR).
  2. A squeeze is on when both Bollinger Bands sit inside the Keltner Channel.
  3. When a bar closes with the squeeze off after the previous bar had it on, check the MACD (12, 26, 9) histogram: above zero means buy, below zero means sell.
  4. Enter one lot on the next tick, for release bars closing between 09:30 and 14:45.
  5. Stop at the Bollinger middle line of the release bar; skip the trade if price is already beyond it.
  6. Once a bar closes on the wrong side of the 8 EMA, exit on the first tick through that bar's low (for a long) or high (for a short).
  7. Close anything still open at 15:15; only one trade at a time.

Why traders use it

Volatility moves in cycles: tight ranges are often followed by expansion. Bollinger Bands measure volatility with standard deviation and Keltner Channels with average true range, so when the first fits inside the second the market is compressed by both measures. Using the MACD histogram for direction and the 8 EMA for the exit gives a complete, rule-based momentum trade. The squeeze is built into many charting packages, which keeps it popular with intraday futures traders.

Works best whenA quiet morning gives way to a directional trend that closes near the day's high or low; in this test such trend days made most of the money, and higher-VIX evenings came before the best trades.
Struggles whenChoppy days that swing widely and close mid-range, which lost ₹16,658 over 14 trades, and quiet sessions with a range under 0.75% (₹23,952 lost over 38), where the release fizzles and price soon crosses back through the 8 EMA or the Bollinger middle.

The year in plain words

On NIFTY from 1 Oct 2025 to 30 Sep 2026 the default intraday mode took 76 trades and won half, but the average win (₹4,740) was nearly twice the average loss (₹2,633). Fifty-one trades left on the EMA exit, 7 on the stop and 18 at 15:15. Net P&L was ₹80,059 before costs and ₹65,656 after ₹20 per order and slippage, profit factor 1.8 before costs, with a ₹17,492 drawdown. March made ₹38,791. Trend days produced ₹1,15,760, while quiet and choppy sessions lost about ₹40,000 combined.

What the settings do

ModeIntraday uses the Bollinger-middle stop and the EMA trailing exit and squares off by 15:15. Positional uses a fixed 2% stop and 4% target and holds across days, rolling at expiry.Bar minutesThe bar length for all indicators. Shorter bars find more squeezes, many of them minor.Bb periodThe lookback of the Bollinger Bands' moving average and standard deviation.Bb stdHow many standard deviations the Bollinger Bands sit from their middle. Narrower bands fit inside the channel more easily, so squeezes are more frequent.Kc periodThe lookback of the Keltner Channel's EMA and ATR.Kc multHow many ATRs the Keltner Channel sits from its middle. A wider channel makes squeezes easier to qualify.Trail EMAThe EMA used for the intraday exit. A shorter EMA exits sooner and gives back less, but cuts winners earlier.SL %Positional mode only: the stop as a percentage of the entry price.Target %Positional mode only: the target as a percentage of the entry price.Entry fromThe earliest release-bar close that can trigger an intraday entry; it skips the opening minutes.Last entryThe latest release-bar close that can trigger an intraday entry.Exit timeWhen an intraday trade still open is squared off.Roll timePositional mode only: when the futures position is closed on expiry day and reopened in the next month.

Risks

  • The profit came largely from a few trend days; missing them would change the result a lot.
  • The stop at the Bollinger middle varies in distance, so some losses are larger than usual.
  • Releases can come in either direction within a few bars, and the MACD may point the wrong way at the turn.
  • Results come from one year of NIFTY data with these exact settings and may not hold in different conditions.

Who it suits

Intraday futures traders comfortable with indicator-based rules who can monitor or automate 15-minute signals, accept a 50% win rate with larger winners, and have margin for a NIFTY futures lot.

5

Questions traders ask

What is the Bollinger Keltner squeeze?

It occurs when the Bollinger Bands move inside the Keltner Channel, meaning volatility measured by standard deviation has dropped below volatility measured by average true range. It marks a period of compression. The squeeze releases when the bands move back outside the channel.

How is the direction of the trade chosen?

By the MACD histogram at the release bar. If it is above zero, momentum is up and the strategy buys; if below zero, it sells. The squeeze only says a move is likely, not which way.

Is the squeeze strategy profitable on NIFTY futures?

In this backtest from 1 Oct 2025 to 30 Sep 2026 it made ₹80,059 before costs and ₹65,656 after ₹20 per order and bid-ask slippage, with a ₹17,492 drawdown before costs. Statutory charges are not included. Most of the profit came from trend days. Past results do not guarantee future ones.

How does the 8 EMA exit work?

While in a long, once a 15-minute bar closes below the 8-period EMA, the strategy exits on the first tick below that bar's low; a newer bar closing below the EMA replaces the level. Shorts work the other way. It lets winners run while the trend holds.

6

Before you rely on it

WHERE THE RULES WERE UNCLEAR · OUR CHOICESThe source gives 2% / 4% with no timeframe - too wide for an intraday index trade. As the spec says, the default is 15-minute bars with the Bishnu103 intraday exits (MODE "intraday"); MODE "positional" keeps 2% / 4%. the source enters at the signal bar's close; here at the next tick. Gross of costs.
Also known asTTM squeezeBB KC squeeze
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.