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.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。