PROTECTED SOURCE SCRIPT
Inside Bar Ind/Alert with High/Low Markers

This indicator identifies inside bar candles, a common price action pattern where the current candle's range is completely within the range of the previous candle.
✨ Enhancements in this version:
When an inside bar is detected, the script marks the high and low of the major candle (the candle immediately before the inside bar).
These high/low levels act as a temporary range to visualize market compression.
If price breaks above the high or below the low of the major candle, the marker disappears, signaling a potential breakout.
Green inside bars indicate bullish body; Red inside bars indicate bearish body.
📍 Visuals:
Inside bars are marked with colored bar highlights and triangle shapes.
The major candle's high/low are marked using gray cross shapes above/below the chart.
🔔 Alert Included:
An alert triggers when a new inside bar is detected.
This tool is especially useful for traders tracking consolidation and breakout patterns within price action.
✨ Enhancements in this version:
When an inside bar is detected, the script marks the high and low of the major candle (the candle immediately before the inside bar).
These high/low levels act as a temporary range to visualize market compression.
If price breaks above the high or below the low of the major candle, the marker disappears, signaling a potential breakout.
Green inside bars indicate bullish body; Red inside bars indicate bearish body.
📍 Visuals:
Inside bars are marked with colored bar highlights and triangle shapes.
The major candle's high/low are marked using gray cross shapes above/below the chart.
🔔 Alert Included:
An alert triggers when a new inside bar is detected.
This tool is especially useful for traders tracking consolidation and breakout patterns within price action.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
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 protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
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.