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

R1 + PDH double confirmation

This intraday NIFTY futures strategy combines two popular reference levels: the classic floor-pivot R1 and S1, and the previous day's high and low. A long needs price to clear both R1 and yesterday's high; a short needs it to break both S1 and yesterday's low. It drops out as soon as a minute closes back inside, and it takes the opposite side when price stretches to R2 or S2.
Trades NIFTY futures long above both R1 and the previous day's high, short below S1 and the previous day's low, and fades moves that reach R2 or S2.
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 month56.9
Typical hold5 min
Profitable months6 of 12
Longest losing run20 trades
Made money inChoppy days that close mid-rangeIndia VIX below 11.5
Lost money inTrend days that close near the high or lowIndia VIX 11.5-14.5NIFTY weekly expiry days
Default settings
Symbol
Fade r2 s2
Entry from
Entry to
Exit time
Max trades per day
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
1-minute close through max(R1, PDH) or min(S1, PDL); fades at R2/S2; 09:16-15:00
Legs
BUY FUT · Near month · Current month · 1 lotSELL FUT · Near month · Current month · 1 lot
Exits
stop Breakout trade: a minute close back inside its gatesignal R2/S2 fade reverses any open breakout tradetime Everything still open at 15:15
Re-entry
Yes, on later crosses; up to 6 entries a day
Levels
from yesterday's high H, low L, close C of the near-month future (daily bars): pivot P = (H + L + C) / 3, R1 = 2P - L, S1 = 2P - H, R2 = P + (H - L), S2 = P - (H - L); PDH = H, PDL = L. Upper gate = the higher of R1 and PDH, lower gate = the lower of S1 and PDL.
Entry
on 1-minute closes from ENTRY_FROM to ENTRY_TO: a close crossing up through the upper gate (previous minute at or below it) buys LOTS; a close crossing down through the lower gate sells. With FADE_R2_S2, a close crossing up through R2 sells (fade) and a close crossing down through S2 buys (fade) - these take priority and reverse an open breakout trade. Entry / reversal at the next tick after the minute closes.
Stop
a breakout long ends on a minute close back below the upper gate (below R1 or PDH); a breakout short on a close back above the lower gate.
Exit
a fade is held until the opposite fade or EXIT_TIME; everything open at EXIT_TIME is closed. At most MAX_TRADES_PER_DAY entries a day.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 683 trades · before costs
Net P&L−₹5,670
Win rate23%
Max drawdown−₹69,693
Avg per trade−₹8
Profit factor0.99
Worst trade−₹23,998
3

Where it made and lost money

The evidence runs against the textbook view of a breakout system. Choppy days with a wide range and a mid-range close made ₹52,257 over 202 trades, while trend days lost ₹52,104 over 181. The reason is the R2 and S2 fade: on choppy days price stretches to the second pivot and snaps back, so the fade pays, but on trend days it keeps going and the fade loses, while breakout entries are often cut on a one-minute close back inside the gate. Calm VIX below 11.5 made ₹36,791 over 201 trades; the normal band lost ₹37,503 over 319. Figures are before costs.

Kind of session on the entry day
Quiet session (range under 0.75%)−₹10,828299 trades20% won
Trend day (closed near the high or low)−₹52,104181 trades31% won
Choppy day (wide range, closed mid-range)+₹52,257202 trades21% won
Session direction on the entry day
NIFTY closed above its open+₹44,925344 trades22% won
NIFTY closed below its open−₹55,600338 trades24% won
India VIX the evening before
VIX below 11.5 (calm)+₹36,791201 trades27% won
VIX 11.5-14.5 (normal)−₹37,503319 trades21% won
VIX above 14.5 (nervous)−₹9,964162 trades22% won
Day of the week
Monday+₹19,406126 trades25% won
Tuesday−₹21,718149 trades22% won
Wednesday−₹8,308119 trades23% won
Thursday−₹9,757149 trades19% won
Friday+₹23,912134 trades28% won
Expiry day (NIFTY weekly)
Expiry day−₹18,266163 trades24% won
Other days+₹7,591519 trades23% won
Trend going in
Uptrend (NIFTY above its 20-day average)+₹6,117376 trades24% won
Downtrend (NIFTY below its 20-day average)−₹16,792306 trades22% won
How the entry day opened
Gap up of 0.4% or more+₹1,78553 trades23% won
Flat open−₹1,832523 trades23% won
Gap down of 0.4% or more−₹10,628106 trades25% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Before the open, compute floor pivots from yesterday's futures high, low and close: P, R1, S1, R2 and S2. The upper gate is the higher of R1 and yesterday's high; the lower gate is the lower of S1 and yesterday's low.
  2. From 09:16 to 15:00, on 1-minute closes: a close crossing above the upper gate buys one lot; a close crossing below the lower gate sells one lot.
  3. A breakout long is closed on any minute close back below the upper gate; a breakout short on a close back above the lower gate.
  4. A close crossing above R2 sells as a fade, and a close crossing below S2 buys as a fade. These take priority and reverse any open breakout trade.
  5. A fade is held until the opposite fade or 15:15.
  6. Allow up to six entries a day and close everything at 15:15.

Why traders use it

Pivot levels and the previous day's range are watched by many intraday traders, so a break of both at once is read as stronger evidence than a break of either alone. Exiting on a close back inside keeps losses small when the break fails. The fade at R2 and S2 reflects the idea that by the second pivot level the move is stretched and may snap back. It is a simple, fully mechanical level-based system.

Works best whenChoppy, wide-range sessions that reach R2 or S2 and then swing back, which suits the fade rule. In this test calm markets with India VIX below 11.5 also did better.
Struggles whenTrend days that close near their high or low, where fades at R2 and S2 are run over and breakout trades are shaken out by brief pullbacks. India VIX of 11.5-14.5 and weekly expiry days were also negative in this test.

The year in plain words

With default settings on NIFTY futures from 1 Oct 2025 to 30 Sep 2026, the strategy made 683 trades and won only 23%. Before costs it was close to breakeven, a ₹5,670 loss with a profit factor of 0.99: average wins of ₹3,604 balanced many small exits of ₹1,113. Most trades (517) ended on a close back inside the gates. That trade count is the problem: after ₹20 per order and bid-ask slippage, the year becomes a ₹1,57,256 loss with a drawdown of ₹1,83,134. February lost ₹25,247 before costs. Frequent whipsaws around the gates made it far too expensive to trade.

What the settings do

Fade r2 s2If on, the strategy sells on a cross above R2 and buys on a cross below S2. Turning it off trades only the double-confirmation breakout.Entry fromThe first 1-minute close that can open a trade.Entry toThe last 1-minute close that can open a trade.Exit timeWhen everything still open is squared off.Max trades per dayThe cap on entries per day. A lower cap limits the damage on choppy days when price keeps crossing the gates.

Risks

  • The exit on any minute close back inside the gate leads to hundreds of small losing trades a year.
  • Costs dominate: a near-breakeven result before costs became a loss of over ₹1.5 lakh after costs.
  • The R2 and S2 fades bet against strong moves and can take large losses on trending days; the largest single loss was ₹23,998.
  • One full NIFTY futures lot per trade means each whipsaw costs real money.

Who it suits

Traders who use pivot levels and the previous day's range and want to see how a strict, minute-by-minute version behaves, especially how trading frequency changes the result once costs are included.

5

Questions traders ask

What is the R1 and previous day high strategy?

It buys only when price is above both the R1 pivot level and the previous day's high, so both levels confirm the breakout. The short side needs price below both S1 and the previous day's low.

Is the pivot and previous day high breakout profitable?

From 1 Oct 2025 to 30 Sep 2026 on NIFTY futures it lost ₹5,670 before costs and ₹1,57,256 after ₹20 per order and bid-ask slippage, over 683 trades. The high trade count made costs decisive. Past results do not guarantee future ones.

How are R1, S1, R2 and S2 calculated?

The pivot P is the average of yesterday's high, low and close. R1 is 2P minus the low, S1 is 2P minus the high, R2 is P plus the day's range, and S2 is P minus the range. These are the classic floor pivots.

Why fade at R2 and S2?

The idea is that a move reaching the second pivot level is stretched and likely to pull back. It is a contrarian rule that can be switched off to trade only the breakout part of the system.

6

Before you rely on it

WATCH OUTthe state flags were not cleared consistently in the source; whipsaw around the gates on flat days. Gross of costs.
WHERE THE RULES WERE UNCLEAR · OUR CHOICES- The source only logs alerts; its pivot formula is not defined: classic floor pivots are the spec's interpretation, and so is the EXIT_TIME square-off. - The R2 / S2 fade looks contrarian and may be a bug in the source; it is kept as written, and FADE_R2_S2 = False trades the double-confirmation breakout alone. - Prices are 1-minute closes of the rolled near-month future (last tick of each minute). - The session after a monthly futures expiry is skipped: yesterday's H / L / C belong to the expired contract, which the rolled series does not adjust (gap R2-A3).
Also known asCPR by KGS
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.