Indian Sectors HeatMapA real-time NSE sector dashboard built for intraday traders. Tracks 3 benchmark indices (Nifty 50, Bank Nifty, Midcap 100) and 13 sector indices in a single color-coded table.
Each row shows the last price, daily change%, and gap% (today's open vs yesterday's close) with a green/red gradient so you can instantly spot sector strength and weakness.
Sectors covered: Auto, Financial Services, FMCG, IT, Media, Metal, Pharma, PSU Bank, Realty, Energy, Commodities, Private Bank, Oil & Gas.
Fully customizable — Sort by highest/lowest change or alphabetically, reposition the table anywhere on the chart, and adjust colors to match your theme. Indicator

Strategy

IntraEdge v12.6 for Nifty, Sensex, Bank Nifty.IntraEdge v12.6 is a complete session intelligence system for Nifty, Sensex,
and BankNifty intraday F&O traders.
It tells you what kind of day you are in, whether to look for longs or shorts,
when the setup is valid, and when to stand down entirely. Every piece of
information — gap context, VIX range, OR state, HTF alignment, session phase,
ADR capacity, and ATM strike — is on one chart, updated live.
No spreadsheets. No second monitor. No manual calculations.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ What It Does
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Opening Range Breakout Engine
The 9:15–9:45 window on Nifty concentrates the highest institutional order
flow of the entire session. The high and low formed in this window become
the most significant intraday support and resistance levels of the day. A
clean break of these levels, followed by a retest that holds, is
statistically the highest probability intraday setup in the Indian market.
IntraEdge automates the entire process — forming the range, detecting the
break, waiting for the retest, and printing the entry signal.
The Rule: Do not buy the breakout candle. Wait for the R label.
After the OR seals at 9:45, the engine tracks the break direction and prints
an R label the moment price pulls back cleanly to the OR boundary and
closes back on the breakout side. A second valid retest prints R2 .
These are your entry signals — not the breakout candle, not the momentum
spike. The retest.
Profit Targets (T+0.5 and T+1.0)
Once the OR seals, IntraEdge projects four target lines using the OR range
itself as the measuring unit:
T+0.5 = OR High + half the OR range (first upside target)
T+1.0 = OR High + full OR range (trend day extension target)
T-0.5 = OR Low − half the OR range (first downside target)
T-1.0 = OR Low − full OR range (trend day extension target)
All four lines are permanently visible from OR seal onwards — both sides,
regardless of which direction price breaks. On a whipsaw day where OR
breaks up then reverses, your downside targets are already plotted and ready.
On a trend day: take partial profits at T+0.5, trail stop to the OR
boundary, hold remaining position for T+1.0.
On a tight OR day: T+0.5 is reached faster and tends to act as
support/resistance for a second leg. Size accordingly.
OR Quality Rating
Compares today's OR range width against a rolling 5-day average and labels
it , , or .
A Tight OR on low VIX is a coil — expect a sharp directional move once it
breaks. A Wide OR on high VIX is noise — the range itself is unreliable and
retests are harder to read. A Normal OR is the cleanest condition for
standard R/R2 entries.
Coil Detection
When price is trapped inside the OR with VPC bands compressing, the HUD
flags a Squeeze state with a bar count. The longer the squeeze, the more
violent the expansion. Do not fade a coil. Wait for direction and trade
the R.
2. VIX-Anchored Statistical Range
India VIX is converted into an exact point range for the session. This tells
you the statistical ceiling and floor the options market is pricing in —
before you place a single trade.
The critical detail: the anchor ignores the 9:15 AM opening tick, which is
frequently distorted by pre-market order imbalances. Instead it locks to the
9:20 AM stabilized price — the first clean price after the market has
absorbed the open. The HUD displays this as an absolute price range
(e.g. 23850 – 24248) so you can read it directly against the chart without
any mental arithmetic.
VIX Ceiling and Floor lines are plotted as permanent horizontal lines from
market open. When price approaches these lines late in the session with ADR
reading Exhausted, you are at the statistical boundary of the day's move.
This is where the PM reversal setup forms.
VIX Regime is also classified in the HUD:
High VIX (>18) — wider stops, smaller size, more signal noise. Every
threshold on every indicator is less reliable today.
Normal VIX (13–18) — standard operating conditions.
Low VIX (<13) — tight ranges, clean retests, higher mechanical accuracy.
3. Volume Price Channel (VPC)
The VPC is a volume-weighted band system that defines the intraday structure
in real time. Three zones:
Extended▲ — price is above the upper band. Trend is strong. Do not short.
Bull Zone — price is between mid and upper band. Bullish bias, look for longs.
Bear Zone — price is between mid and lower band. Bearish bias, look for shorts.
Extended▼ — price is below the lower band. Trend is strong. Do not buy.
The VPC Mid-line is the session's centre of gravity. Price above mid favours
longs. Price below favours shorts. A VWAP Carry from the prior session tells
you which side institutions started the day on.
HTF Matrix
A live feed of the 15m, 30m, and 1H VPC states shown as B▲ / B▼ / E▲ / E▼ / ⚪.
When all three timeframes agree — B▲|B▲|E▲ — the bias is confirmed and
full-size entries are justified. When they conflict — B▲|⚪|B▼ — reduce to
quarter size or skip. The HTF matrix is the single most important filter
before pulling the trigger on an R entry.
Runaway Filter
When the VPC Mid-line velocity exceeds threshold, the HUD flags RUNAWAY and
the Gap Strategy row switches to "No Fade." This means the move is
institutional and one-directional. Do not counter-trade it. Wait for a
structural pullback to a level before considering any entry.
PM Session VWAP
A secondary VWAP automatically anchors at 1:30 PM to track fresh afternoon
institutional flow. Treat this as the reference level for all PM session
trades — not the morning VWAP, which is now stale.
4. ADR Skew and Capacity
The 5-day Average Daily Range is tracked in real time and displayed in three
layers of information:
Percentage consumed — how much of today's statistical range has been used.
Direction skew — which direction holds the exhaustion.
↑ means the upside range is consumed. Longs are chasing a spent move.
↓ means the downside range is consumed. Shorts are chasing a spent move.
↔ means the range is balanced. Both directions still have room.
Three-tier label :
Consumed (0–60%) — statistical fuel available in both directions.
Used (60–85%) — one more leg possible, then expect mean reversion.
Exhausted (>85%) — the day's move is statistically complete.
New trend entries have negative expectancy from here.
When ADR reads Exhausted ↑ and price is approaching the VIX Ceiling, you
have a confluence of two independent statistical boundaries. This is the
highest probability PM reversal setup in the system.
5. Institutional Order Flow
Fair Value Gaps — highlights structural price imbalances where
institutions left orders unfilled. When price gaps through a zone too fast
for both sides to transact, it leaves a magnet on the chart. IntraEdge marks
these zones and automatically removes them the moment price returns to fill
them. No manual cleanup.
Liquidity Sweeps — flags when price briefly breaks PDH, PDL, or OR
boundaries with a wick and immediately closes back inside. This is
stop-hunting, not a genuine breakout. The sweep itself often marks the
reversal point.
Volume Absorption — marks high-volume doji candles where buyers and
sellers are matching each other in size. Directional resolution follows.
Absorption at a key level is a high-probability entry trigger.
Exhaustion Nodes — arrows at swing extremes where volume spikes with
a long wick at a 10-bar high or low. The institutional participation that
drove the move is now reversing. Do not chase. Look for the fade.
1H Doji Radar — detects indecision, gravestone, and dragonfly doji
formations on the hourly chart and marks them on your intraday chart. An
hourly gravestone doji at the VIX Ceiling is a reversal warning on two
independent systems simultaneously.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 Session Playbook
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phase 1 — The Open (9:15 – 9:45)
Read the HUD before touching the keyboard. Do not trade during this phase.
Gap Strategy — read this first.
If the gap has held for 60 minutes with session low above PDC, the HUD
flags Launchpad: DO NOT SHORT . This is a session-wide mandate. No
short trades for the rest of the day regardless of what other signals appear.
If the gap is fading toward PDC, watch for Gap Fill flag and potential
reversal at PDC.
VWAP Carry — read this second.
Bull Carry + Gap Up = trend day bias. Expect OR break up, R entry, hold
to T+1.0.
Bear Carry + Gap Up = conflicted. Expect either a gap fade or a choppy
range day. Reduce size expectations.
Bear Carry + Gap Down = trend day bias to the downside.
Bull Carry + Gap Down = watch for gap fill reversal.
VIX Regime — read this third.
High VIX today means every stop needs to be wider and every size needs
to be smaller. Reduce standard position size by at least 30% on High VIX
days before the session begins.
Phase 2 — The Breakout Window (9:45 – 12:00)
This is the primary trading window. The majority of the day's directional
move happens here.
The entry sequence:
1. OR seals at 9:45. Note the OR High, OR Low, and OR quality rating.
2. Wait for price to break cleanly above OR High or below OR Low.
3. Do not enter on the breakout candle.
4. Wait for the R label — the retest of the broken level.
5. Before entering, run the confirmation checklist:
✅ HTF Matrix shows at least 2 of 3 timeframes aligned with break direction
✅ VWAP Dist not showing ⚠ (price not already overextended from VWAP)
✅ ADR Capacity not at Exhausted
✅ Not within 20 minutes of Dead Zone
All four true → standard size entry.
Two or three true → half size or skip.
One or zero true → skip.
Target management:
First target: T+0.5. Take 50% off here.
Trail stop to OR boundary on remaining position.
Second target: T+1.0. Exit remainder or trail further on strong trend days.
Phase 3 — The Dead Zone (12:00 – 13:30)
Institutional volume drops to near zero in this window. Breakouts that look
clean will reverse. Ranges that look like coils will fake out. The chart
background dims automatically and the HUD Session row counts down to this
phase from 11:30 AM.
Rule: No new trend entries during the Dead Zone.
You may hold existing positions from Phase 2. You may not open new ones.
The only acceptable activity is managing existing trades and preparing the
PM session watchlist.
Phase 4 — PM Session (13:30 – 15:30)
Fresh institutional flow re-enters at 1:30 PM. A new PM VWAP anchors
automatically on the chart. Use this as the reference level for all
afternoon trades — not the morning VWAP.
The primary PM setup is a reversal or fade at a statistical boundary, not
a trend continuation. The confluence setup:
✅ Price has reached the VIX Ceiling or VIX Floor
✅ ADR Capacity reads Exhausted (>85%) in the direction of the move
✅ An Exhaustion arrow or Liquidity Sweep visible at that level
✅ HTF Matrix shows at least one timeframe turning against the trend
All four → high probability PM reversal. Size at standard.
Three → take the trade at half size.
Two or fewer → observe only.
After 3:00 PM the HUD counts down to close. No new entries once the
Session row shows "Closes in 20m." Options decay accelerates in the
final 20 minutes and risk-reward collapses.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Alert Suite — 20 Conditions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Every key event has a pre-configured alert. Set them once, monitor from
your phone. The most important alert is the R Retest — set this and you
do not need to watch the chart every bar during Phase 2.
OR Break UP / DN — fires the moment the OR boundary is breached
R Retest UP / DN — fires when the first entry label prints
R2 Retest UP / DN — fires when the second entry label prints
VWAP Reclaim / Reject — fires on VWAP cross in either direction
Launchpad UP / DN — fires when the session-wide directional mandate activates
Coil Alert — fires when VPC squeeze inside OR reaches threshold
ADR Exhausted — fires when daily range crosses 90% consumed
Gap Filled — fires when the morning gap is closed
Liquidity Sweeps — fires on PDH/PDL/OR wick reversals
Exhaustion Nodes — fires at extreme volume swing points
Volume Absorption — fires on institutional doji volume
Bull / Bear FVG Created — fires when a new imbalance zone forms
Momentum Alert — fires on RUNAWAY trend detection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Settings and Compatibility
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Designed for: Nifty 50, BankNifty, Sensex (NSE index charts)
Recommended timeframes: 5m primary, 3m or 1m for precision entries
OR window: Default 9:15–9:45. Fully adjustable for 15-min OR or custom end time.
All mathematics auto-scale to your active timeframe. Switch between 1m, 3m,
and 5m without changing any settings.
Futures volume routing is active by default on index charts, pulling volume
from the active Nifty futures contract for accurate VPC calculation.
Strike step auto-detects the instrument: 50-point intervals for Nifty,
100-point intervals for BankNifty and Sensex.
Previous Week H/L is toggled off by default to reduce visual noise. Enable
from settings when weekly swing context is relevant. Indicator

Indicator

Multi Straddle-Strangle ChartThis powerful indicator is designed for options traders who want to visualize and track the combined premium of multiple straddle and strangle strategies in a single, dedicated pane.
Quickly analyze and compare up to five different options strategies at a glance, directly on your chart. This tool is perfect for monitoring volatility, tracking potential profits/losses on a position, and spotting key support and resistance levels based on option premiums.
Key Features:
Plot Up to 5 Strategies: Simultaneously plot any combination of up to 5 straddles or strangles.
Real-Time Data: Fetches live data for both Call and Put options to give you an up-to-the-second view of the combined price.
Dynamic Symbol Generation: Automatically detects the underlying symbol (e.g., NIFTY, BANKNIFTY, stocks) and builds the correct option symbols based on your input.
Customizable Inputs: Easily configure the expiry date, strike prices and line colors for each of the 5 lines.
In-Chart Summary Table: A clean and clear table in the corner of your chart provides a quick summary of each enabled strategy and its current price.
Important Note on Usage:
This tool requires you to input a strike price in all fields, even if you do not plan to use all five lines. This is necessary because of a fundamental rule in the Pine Script language: every input must have a constant, non-empty default value. The indicator is optimized to only fetch data for the lines you have explicitly enabled with the "Enable Line X" checkbox. Indicator

Index investingThe Index Investing indicator simplifies decision-making for adding to Index ETF's Long-term investments. By utilizing a percentage discount methodology, it highlights potential opportunities to enhance portfolios. This straightforward tool aids in identifying favorable moments to invest based on calculated price discounts from selected reference points, making the process more systematic and less subjective.
🔶 SETTINGS
Reference Price: Choose between 'All-Time-High' or 'Start of the Year' as the basis for calculating discount levels. This allows for flexibility in strategy depending on market conditions or investment philosophy.
Discount 1 %, Discount 2 %, Discount 3 %: These inputs define the percentage below the reference price at which buy signals are generated. They represent strategic entry points at discounted prices.
🔶 Default Parameters
The default parameters of 4.13%, 8.26%, and 12.39% for the discount levels are chosen based on the average 5-year return of the NSE:NIFTY Index, which stands at approximately 12.39%. By dividing this return into three parts, we obtain a structured approach to capturing potential upside at varying levels of market retracement, providing a logical basis for the selected default values.
Users have the flexibility to modify these parameters, tailoring the indicator to fit their unique approach and market outlook.
🔶 How Levels Are Calculated
Discount levels are calculated using the formula: Discount Price = Reference Price * (1 - Discount %) . This succinct approach establishes specific entry points below the chosen reference, such as an all-time high or the year's start price.
🔶 How Are the Buy Labels Generated
Buy signals are generated when the market price(Low of the candle) crosses under any of the defined discount levels. Each level has a corresponding buy label ('Buy 1', 'Buy 2', 'Buy 3'), which is activated upon the price crossing below the specified discount level and is only reset at the beginning of a new year or upon reaching a new reference high, ensuring signals are not repetitive for the same price level.
🔶 Other Features
Alerts: The indicator provides alerts for each buy signal, notifying potential entry points at their defined discount levels. The alert triggers only once per candle.
Year Marker: A vertical line with an accompanying label marks the start of each trading year on the chart. This feature aids in visualizing the temporal context of buy signals and reference price adjustments.
Indicator

Nifty 50 5mint Strategy
The script defines a specific trading session based on user inputs. This session is specified by a time range (e.g., "1000-1510") and selected days of the week (e.g., Monday to Friday). This session definition is crucial for trading only during specific times.
Lookback and Breakout Conditions:
The script uses a lookback period and the highest high and lowest low values to determine potential breakout points. The lookback period is user-defined (default is 10 periods).
The script also uses Bollinger Bands (BB) to identify potential breakout conditions. Users can enable or disable BB crossover conditions. BB consists of an upper and lower band, with the basis.
Additionally, the script uses Dema (Double Exponential Moving Average) and VWAP (Volume Weighted Average Price) . Users can enable or disable this condition.
Buy and Sell Conditions:
Buy conditions are met when the close price exceeds the highest high within the specified lookback period, Bollinger Bands conditions are satisfied, Dema-VWAP conditions are met, and the script is within the defined trading session.
Sell conditions are met when the close price falls below the lowest low within the lookback period, Bollinger Bands conditions are satisfied, Dema-VWAP conditions are met, and the script is within the defined trading session.
When either condition is met, it triggers a "long" or "short" position entry.
Trailing Stop Loss (TSL):
Users can choose between fixed points ( SL by points ) or trailing stop (Profit Trail).
For fixed points, users specify the number of points for the stop loss. A fixed stop loss is set at a certain distance from the entry price if a position is opened.
For Profit Trail, users can enable or disable this feature. If enabled, the script uses a "trail factor" (lookback period) to determine when to adjust the stop loss.
If the price moves in the direction of the trade and reaches a certain level (determined by the trail factor), the stop loss is adjusted, trailing behind the price to lock in profits.
If the close price falls below a certain level (lowest low within the trail factor(lookback)), and a position is open, the "long" position is closed (strategy.close("long")).
If the close price exceeds a certain level (highest high within the specified trail factor(lookback)), and a position is open, the "short" position is closed (strategy.close("short")).
Positions are also closed if they are open outside of the defined trading session.
Background Color:
The script changes the background color of the chart to indicate buy (green) and sell (red) signals, making it visually clear when the strategy conditions are met.
In summary, this script implements a breakout trading strategy with various customizable conditions, including Bollinger Bands, Dema-VWAP crossovers, and session-specific rules. It also includes options for setting stop losses and trailing stop losses to manage risk and lock in profits. The "trail factor" helps adjust trailing stops dynamically based on recent price movements. Positions are closed under certain conditions to manage risk and ensure compliance with the defined trading session.
CE=Buy, CE_SL=stoploss_buy, tCsl=Trailing Stop_buy.
PE=sell, PE_SL= stoploss_sell, tpsl=Trailing Stop_sell.
Remember that trading involves inherent risks, and past performance is not indicative of future results. Exercise caution, manage risk diligently, and consider the advice of financial experts when using this script or any trading strategy. Strategy

NIFTY 50 5mint StrategyThis is an intraday strategy for NIFTY50 Based First candle High and Low breakout.
The strategy takes user inputs for the start and end dates, start and end months, and start and end years, which define the time range to trade. The user can also specify the maximum number of trades to take during the time range and the length of the Exponential Moving Average ( EMA ) used in the strategy
In this strategy, the First candle's high and low are calculated and used as entry and exit points for trades. If the close price breaks above the First candle's high, a buy signal is generated. Conversely, if the close price breaks below the First candle's low, a sell signal is generated.
The strategy uses the Exponential Moving Average ( EMA ) as a filter to close entered positions either long or short, EMA also acts Target. If the close price falls below the EMA, a long position is closed, and if the close price rises above the EMA, a short position is closed or the PreviousCandleClose is above the First candle's high a short position is closed, When the PreviousCandleClose is below the First candle's low a long position is closed, First candle's high act as Stoploss
The strategy limits the number of trades taken within the specified time range, and if the time range is exceeded, all positions are closed.
Finally, the strategy plots the First candle's high and low, EMAs on the chart for visual reference.
Default settings work best with the 5mint candle, you may tweak settings according to your needs.
backtesting helps in interpreting how the trading strategy would have behaved in the past, and forward testing (paper trading) informs the traders how it would perform now. Strategy

Indicator

Indicator

Indicator

Indicator

Strategy

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

[CP]Pivot Boss Floor Pivots with ATR Dilation and Dynamic LevelsINTRODUCTION:
Compared to all the Pivot Indicators available on Trading View Public Library, this Floor Pivots Indicator differentiates itself in two major original ways:
Dilates the Pivot Support/Resistance Levels into Support/Resistance Bands based on volatility
Displays the S/R Levels Dynamically , that is, only those levels will be shown that are close enough to the price resulting in much cleaner looking charts.
There were a few features whose logic I had figured out, but I could not implement them due Pine Script’s Limitation (they should really work on increasing Pine Script’s capacity instead of adding more and more features to the language in order to make it look ‘better’):
Showing multiple timeframe pivots at the same time (not possible due to Pine Script’s limitation on the ‘Max Number of Outputs’ )
Automatic Detection of highly profitable Double Hot Pivot Zones (DPZ), also due to the ‘Max Number of Outputs’ limit
GENERAL USER INPUTS:
Most of the settings are self-explanatory, however, a few of them need some explanation:
Show Floor Pivots Dynamically – This will turn ON the dynamic pivot levels, please note that this function will work ONLY IN INTRADAY timeframes.
Dynamic Pivot ATR Period – Period over which the ATR value is calculated to show the pivots dynamically.
ATR Threshold for Dynamic Floor Pivots – Simply put, the indicator will start displaying Pivot Levels if they fall within the 2*ATR distance (default value) of the price. You can increase this number if the volatility increases and vice-versa.
Use ATR to Dilate Intraday Pivot Levels – This will turn ON Floor Pivot Dilation, turning pivot ‘lines’ into ‘bands’ .
ATR Dilation Factor – This number decides the width of the Pivot bands. Larger this number, thicker the bands. Typically, high volatility stocks will require a higher number.
ATR Period – Same as Dynamic Pivot ATR Period, but for Pivot Level Dilation.
INDICATOR USAGE EXAMPLES:
This indicator works great in conjunction with my Pivot Boss Candlestick Scanner indicator.
There are a lot of optimizations I have done in the code, although it looks trivial at first glance, but it's fairly complex.
Feel free to use it and modify it as you wish.
Here are a few examples where the indicator has shown great entries and exits, with the default settings:
NIFTY 5m Chart
Reliance 5m Chart
Tesla 5m Chart
Bitcoin-USDT 15m Chart
FINAL WORDS:
Please understand that I have Cherry Picked the examples to showcase the capability of the indicator and its usage.
DO NOT conflate the accuracy of examples with the accuracy of this indicator.
Once you start using floor pivots, you will realize that a lot of days simply don’t give any high probability setups and you will simply sit out of the market and do nothing (which is a good thing).
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
Indicator

Indicator

Indicator

Indicator
