OPEN-SOURCE SCRIPT
Last 10 Sessions: High, Low, Pivot, Gap

Last 10 Sessions: High, Low, Pivot, Gap
This indicator highlights the most important price levels from the last 10 completed trading sessions to help intraday and swing traders quickly spot potential support, resistance, and price reaction zones.
Key Features:
Previous Highs and Lows: Visualize the high and low from each of the past 10 sessions. These are the most commonly tested breakout and reversal points for day trading.
Session Pivots: The classic pivot formula ((High + Low + Close) / 3) for each of the last 10 sessions, often acting as a market “equilibrium” or intraday magnet.
Gaps: Displays the difference between each day’s open and the previous session’s close (“gap”), showing sentiment shifts and possible gap fill targets.
Clean, Faded Visuals: All lines and labels are subtly faded so your chart remains clear and uncluttered, with each level labeled by how many sessions ago it occurred.
Full Customization: Instantly toggle any level type (High, Low, Pivot, Gap) ON/OFF in settings, extend lines to the right, and adjust their forward length.
Bulletproof Logic: Never throws runtime errors. Lines and labels only display when valid data is present.
How to Use:
Use recent highs/lows for breakout, breakdown, or mean reversion trades.
Spot where multiple levels from past sessions cluster together for high-probability reversal or breakout areas.
Watch pivots for intraday bias, and gaps for sentiment and possible fill plays.
Perfect for all intraday timeframes.
If you want a powerful yet minimal map of where price is most likely to react, this indicator is for you!
Developed by [nvijaybhargav77]
This indicator highlights the most important price levels from the last 10 completed trading sessions to help intraday and swing traders quickly spot potential support, resistance, and price reaction zones.
Key Features:
Previous Highs and Lows: Visualize the high and low from each of the past 10 sessions. These are the most commonly tested breakout and reversal points for day trading.
Session Pivots: The classic pivot formula ((High + Low + Close) / 3) for each of the last 10 sessions, often acting as a market “equilibrium” or intraday magnet.
Gaps: Displays the difference between each day’s open and the previous session’s close (“gap”), showing sentiment shifts and possible gap fill targets.
Clean, Faded Visuals: All lines and labels are subtly faded so your chart remains clear and uncluttered, with each level labeled by how many sessions ago it occurred.
Full Customization: Instantly toggle any level type (High, Low, Pivot, Gap) ON/OFF in settings, extend lines to the right, and adjust their forward length.
Bulletproof Logic: Never throws runtime errors. Lines and labels only display when valid data is present.
How to Use:
Use recent highs/lows for breakout, breakdown, or mean reversion trades.
Spot where multiple levels from past sessions cluster together for high-probability reversal or breakout areas.
Watch pivots for intraday bias, and gaps for sentiment and possible fill plays.
Perfect for all intraday timeframes.
If you want a powerful yet minimal map of where price is most likely to react, this indicator is for you!
Developed by [nvijaybhargav77]
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.