NIFTY 50 Intraday Strategy [ST+RSI+CPR+BB]
What it does
Multi-timeframe intraday strategy for NIFTY 50 combining dual Supertrend (3m/5m), RSI momentum, Daily CPR (Pivot/BC/TC/R1-R4/S1-S4), and Bollinger Bands, with optional ADX, VWAP, Volume and Gap filters plus automatic square-off.
NIFTY 50 INTRADAY STRATEGY — Supertrend + RSI + CPR + Bollinger Bands
================================================================
OVERVIEW
This is a rule-based intraday strategy built for NIFTY 50 (works on other
liquid index/futures instruments too). It combines trend, momentum, and
mean-reversion-breakout confirmation across multiple layers before taking
a trade, and is designed to strictly avoid overnight risk with a forced
square-off.
HOW IT WORKS
Entries require ALL of the following to align:
Trend (Supertrend, dual timeframe) — Supertrend on the current chart
timeframe AND on a higher timeframe (default 5m) must both agree on
direction. This filters out weak/choppy trend signals.
Momentum (RSI) — Long entries require RSI above a configurable
threshold (default 70); short entries require RSI below a threshold
(default 30), confirming strength rather than fading it.
Daily CPR (Central Pivot Range) — calculated from the previous day's
high/low/close: Pivot, BC, TC, and extended R1–R4 / S1–S4 levels.
Price must be trading beyond R1 (longs) or S1 (shorts), acting as a
breakout confirmation layer. An optional "narrow CPR" filter can
restrict entries to statistically higher-probability trending days.
Bollinger Bands — price must close outside the bands in the trade
direction, adding a volatility-breakout condition on top of the CPR
breakout.
Optional filters (all toggleable):
ADX minimum threshold, to avoid trading in low-trend-strength conditions
VWAP — trade only in the direction of VWAP
Volume — require volume above its EMA
Gap — skip trading on days with an excessive opening gap
RISK & TRADE MANAGEMENT
Only one position at a time (no pyramiding)
Configurable max trades per day
Exit on Supertrend flip
How to use it
- Open the charts and go to Indicators › My scripts › Shared with me (or search the Community library) and press Add to chart.
- The code is protected by the author: the script runs on the chart with the source hidden.
Version history
- v1 — 26 Nov, 10:27 pm · compiler 0.3.70