OPEN-SOURCE SCRIPT
NIFTY 5M Confirmation Scalper

NIFTY 5M Confirmation Scalper
Short description
A 5-minute confirmation indicator for NIFTY and BANKNIFTY that combines 15m trendline structure, supply/demand BOS confirmation, optional EMA filtering, and projected TP/SL boxes to highlight cleaner intraday setups.
Full description
India Index 5M Confirmation Scalper is a discretionary intraday indicator built for NIFTY and BANKNIFTY on the 5-minute chart.
It is designed to reduce noise by requiring multiple structure-based conditions instead of reacting to a single raw breakout.
What the indicator does
The script combines:
15-minute trendline structure
5-minute execution timing
Supply and demand zone breaks
Optional EMA trend filter
Projected TP / SL boxes
Suppression of repeated confirmation signals during an active trade window
Signal logic
The indicator first identifies a raw trendline break.
A setup becomes confirmed only when a matching supply/demand break of structure occurs within the configured confirmation window.
Marker guide
Diamond markers = raw trendline breaks
Small “c” markers = confirmed setups
TP / SL boxes = projected trade map from the confirmation candle
Core logic
A confirmed signal requires alignment between:
a valid higher-timeframe trendline break
a nearby supply/demand BOS
optional EMA filter agreement
optional volume filter agreement
To reduce clustering, the script can also block another confirmed signal while the previous trade-box window is still active.
Built for both NIFTY and BANKNIFTY
This version includes market-aware internal presets.
NIFTY preset: slightly more patient confirmation, tighter volatility thresholds, and slightly longer setup life
BANKNIFTY preset: faster confirmation, wider ATR-based buffers, shorter setup life, and broader risk/target mapping
The goal is to better match the different movement characteristics of each index instead of applying one identical profile to both.
Best use
This indicator is intended as a chart-structure and confirmation tool for discretionary intraday traders. It does not place trades automatically and should be used together with personal trade management and market context.
Notes
Best used on 5-minute charts
Uses 15-minute structure for trendline logic
Built for NIFTY and BANKNIFTY
Signals may differ from what looks obvious visually because confirmations depend on the script’s actual BOS and zone rules
This is an indicator, not a strategy or backtest engine
Logic section
Use this as a dedicated logic paragraph:
Logic:
The indicator uses 15-minute trendline structure and 5-minute confirmation timing. A raw signal is created when price breaks a valid trendline. A confirmed setup is printed only when a matching supply/demand break of structure happens within the confirmation window. Optional EMA and volume filters can further restrict signals. TP/SL boxes are projected from the confirmation candle, and repeated confirmations can be suppressed while the current trade-box window remains active.
Suggested “How to use” section
Open NIFTY or BANKNIFTY on the 5-minute chart
Watch for diamond markers as early structure breaks
Wait for a c marker for confirmation
Use the projected TP / SL boxes as trade-mapping guidance
Always watch the trend ema zones.
Optionally enable the EMA filter to trade in trend direction only
Disclaimer:
This script is for educational and charting purposes only. It is not financial advice, not an automated trading system, and does not guarantee results. Always test on replay or paper trading before using it live. Use proper risk management.
Short description
A 5-minute confirmation indicator for NIFTY and BANKNIFTY that combines 15m trendline structure, supply/demand BOS confirmation, optional EMA filtering, and projected TP/SL boxes to highlight cleaner intraday setups.
Full description
India Index 5M Confirmation Scalper is a discretionary intraday indicator built for NIFTY and BANKNIFTY on the 5-minute chart.
It is designed to reduce noise by requiring multiple structure-based conditions instead of reacting to a single raw breakout.
What the indicator does
The script combines:
15-minute trendline structure
5-minute execution timing
Supply and demand zone breaks
Optional EMA trend filter
Projected TP / SL boxes
Suppression of repeated confirmation signals during an active trade window
Signal logic
The indicator first identifies a raw trendline break.
A setup becomes confirmed only when a matching supply/demand break of structure occurs within the configured confirmation window.
Marker guide
Diamond markers = raw trendline breaks
Small “c” markers = confirmed setups
TP / SL boxes = projected trade map from the confirmation candle
Core logic
A confirmed signal requires alignment between:
a valid higher-timeframe trendline break
a nearby supply/demand BOS
optional EMA filter agreement
optional volume filter agreement
To reduce clustering, the script can also block another confirmed signal while the previous trade-box window is still active.
Built for both NIFTY and BANKNIFTY
This version includes market-aware internal presets.
NIFTY preset: slightly more patient confirmation, tighter volatility thresholds, and slightly longer setup life
BANKNIFTY preset: faster confirmation, wider ATR-based buffers, shorter setup life, and broader risk/target mapping
The goal is to better match the different movement characteristics of each index instead of applying one identical profile to both.
Best use
This indicator is intended as a chart-structure and confirmation tool for discretionary intraday traders. It does not place trades automatically and should be used together with personal trade management and market context.
Notes
Best used on 5-minute charts
Uses 15-minute structure for trendline logic
Built for NIFTY and BANKNIFTY
Signals may differ from what looks obvious visually because confirmations depend on the script’s actual BOS and zone rules
This is an indicator, not a strategy or backtest engine
Logic section
Use this as a dedicated logic paragraph:
Logic:
The indicator uses 15-minute trendline structure and 5-minute confirmation timing. A raw signal is created when price breaks a valid trendline. A confirmed setup is printed only when a matching supply/demand break of structure happens within the confirmation window. Optional EMA and volume filters can further restrict signals. TP/SL boxes are projected from the confirmation candle, and repeated confirmations can be suppressed while the current trade-box window remains active.
Suggested “How to use” section
Open NIFTY or BANKNIFTY on the 5-minute chart
Watch for diamond markers as early structure breaks
Wait for a c marker for confirmation
Use the projected TP / SL boxes as trade-mapping guidance
Always watch the trend ema zones.
Optionally enable the EMA filter to trade in trend direction only
Disclaimer:
This script is for educational and charting purposes only. It is not financial advice, not an automated trading system, and does not guarantee results. Always test on replay or paper trading before using it live. Use proper risk management.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.