Hide CAS candles post 3.15 PM
Hide CAS ticks/ candles post 3.15 pm for NSE and BSE F&O equivalent cash stocks & Indices.
- Since 3 August 2026, F&O stocks on NSE no longer trade continuously till the close. Continuous trading stops at 15:15, and the last 20 minutes run as a Closing Auction Session (CAS) — a single-price auction that only prints at the end.
- The candles between 15:15 and the auction print stop reflecting normal supply and demand. You see wicks, gaps, and sudden spikes that have nothing to do with what buyers and sellers were actually doing.
- On higher timeframes (hourly, daily, weekly), that distorted tail gets baked into the bar's close, high, or low — quietly poisoning every study, moving average, and pattern you're looking at.
- Even the official Nifty closing level has jumped ~200 points at the fag end on some days purely because of CAS mechanics, catching seasoned participants off guard.
What this indicator does
- For NSE and BSE F&O equivalent cash stocks & Indices, ends every trading day at 15:15 on your chart, the moment continuous trading actually stops.
- Bars starting after 15:15 vanish. The 15:15 print shows as a small tick so you can see where the day closed.
- On hourly/daily/weekly bars, the close, high, and low are recomputed as if the market ended at 15:15 — no CAS contamination.
- Bars before the cutoff are left completely untouched. You see the real market, minus the auction noise.
Practical notes
- Only runs on NSE/BSE symbols that have an F&O contract (those are the ones CAS affects).
- Only works on candles starting 3 Aug 2026
- Cutoff time and start date are configurable — leave defaults for CAS, or shift them if a future rule change moves the auction window.
- Turn off Borders in Settings → Symbol once, or you'll see faint outlines of the original bars showing through.
- Detects F&O names using the symbol on display and identifying if there is an equivalent F&O name for this (e.g., BankNifty <---> BankNifty1!). As a result there could be a few edge cases.
- Ignores F&O symbols themselves.
Example of bar truncation on Bank Nifty Daily chart
Indicador

NSE/BSE Key Support & Resistance | MTF Pro-3.1Advanced pivot-based Support & Resistance with multi-timeframe confluence, strength scoring, volume-confirmed breaks, and adaptive zone visuals — built specifically for Indian stock market (NSE/BSE).
Overview
Most S&R indicators draw every pivot as an equal horizontal line and extend it infinitely to the right — creating cluttered, unreadable charts. This indicator solves that by scoring every level based on how strongly price rejected it , merging overlapping levels from different timeframes into a single confluence zone, and only showing the levels that actually matter.
Built and tuned specifically for NSE and BSE stocks, indices (Nifty 50, Bank Nifty, Sensex), and F&O instruments.
Key Features
🔷 Multi-Timeframe Support (4 TFs)
Enable up to 4 independent timeframes simultaneously. Each timeframe's pivots are detected separately and tagged in the label — , , , . You choose which timeframes to activate.
🔷 Cross-TF Confluence Merge
When two different timeframes produce a pivot at nearly the same price (within ATR proximity), they automatically merge into a single stronger zone instead of drawing two overlapping boxes. The label shows both sources — — and the level receives a confluence strength bonus. These merged zones are your highest-priority trade levels.
🔷 Advanced Strength Scoring
Every level carries a live strength score (★) that accumulates over time. Each touch is scored individually based on:
Wick size relative to candle range (how strongly price rejected)
Distance of close from the level (how convincingly price pulled back)
Whether volume was above average on that candle
Whether a strong body / engulfing candle formed
A barely touching wick scores ~0.5. A high-volume hammer rejection scores ~5–6. The score drives both zone opacity and zone width — strong levels appear bold and wide, weak levels fade visually.
🔷 Volume-Based Break Filter
A level is only invalidated when price closes beyond it and volume meets a configurable threshold (default: 1× average volume). Low-volume spikes through a level are ignored as false breakouts — the zone remains valid. Break alerts include the volume ratio so you know the conviction behind the move.
🔷 Adaptive Zone Visuals
No right extension — zones terminate at the current bar (valid) or the break bar (broken). No infinite lines cluttering the right side of your chart.
Opacity scales with strength — strongest levels are most visible, weakest levels are nearly transparent.
Zone width scales with strength — high-confidence zones are wider, giving a visual sense of the price area's importance.
🔷 Clean Labels
Each label shows the full picture at a glance:
21450.00 ★6.5 ×3
Timeframe source | Price | Strength score | Touch count
Settings Guide
SettingWhat it doesPivot LengthBars each side to confirm a pivot. Higher = fewer, stronger levelsMin StrengthHide levels below this score. Raise to show only confirmed levelsATR Merge DistanceHow close two levels must be to merge into oneInvalidationClose-based (reliable) or Wick-based (faster) break detectionVolume Break FilterRequire above-average volume to confirm a breakoutMin Volume MultiplierHow many times average volume needed to confirm a breakMax Active LevelsCap total zones shown on chartStrength → Zone OpacityToggle adaptive opacity based on strength score
How to Use
Bounce trades — price enters a green (support) zone → wait for a rejection candle with volume → enter above the rejection candle high, SL below zone bottom.
Rejection trades — price enters a red (resistance) zone → wait for a bearish candle with volume → enter below candle low, SL above zone top.
Breakout trades — price closes beyond a zone with high volume (break alert fires) → wait for pullback to the broken level → trade in the direction of the break.
Highest priority setups — zones tagged or with ★ score above 5 and multiple touches. These are the levels institutional money respects.
Alerts
The indicator fires alert() calls for:
Break confirmed — includes ticker, price, and volume ratio
Retest — includes ticker, price, and touch quality score
Set alert condition to "Any alert() function call" in TradingView's alert dialog.
Notes
Designed and tested on NSE/BSE equities and F&O stocks
Works on any timeframe from 1 minute to Weekly
All calculations are original — pivot detection, strength engine, confluence merge, and volume filter are built from scratch in Pine Script v6 Indicador

Estratégia

Indicador

Indicador

Indicador
