OPEN-SOURCE SCRIPT
Inside Bar Highlighter by nkCharts

Overview:
The Inside Candle Highlighter is a simple yet powerful TradingView indicator designed to identify inside bars (inside candles) on your chart. An inside candle is defined as a candle whose high is lower than the previous candle's high and low is higher than the previous candle's low, meaning it forms entirely within the range of the preceding candle.
Inside candles are commonly interpreted by traders as periods of market consolidation or indecision and often precede breakouts or significant price moves. This indicator highlights these candles directly on your chart, making them easy to spot at a glance.
Features
Detects Inside Candles: Automatically identifies bars that are fully contained within the previous bar’s high-low range.
Confirmed Bar Coloring: Colors the candle after it closes, ensuring no repainting occurs during formation.
Style Tab Customization: Users can adjust the candle color directly from the Style tab, allowing seamless integration with your chart theme.
Clean & Minimal: Only inside candles are highlighted, keeping charts uncluttered.
How Traders Can Use It
Identify Consolidation Zones: Quickly spot periods where the market is contracting.
Prepare for Breakouts: Inside candles often signal an upcoming directional move; traders can plan entry or exit points based on breakouts from the inside candle range.
Combine With Other Indicators: Use alongside trend indicators, volume tools, or support/resistance levels to enhance trade confirmation.
Recommended Use
Works on all timeframes — from intraday charts to daily or weekly charts.
Particularly useful in price action trading, swing trading, and trend-following strategies.
Ideal for traders who want a visual cue for consolidation and potential breakout areas without adding complexity to the chart.
Note: This indicator only highlights inside candles. Interpretation and trading decisions are left to the user.
The Inside Candle Highlighter is a simple yet powerful TradingView indicator designed to identify inside bars (inside candles) on your chart. An inside candle is defined as a candle whose high is lower than the previous candle's high and low is higher than the previous candle's low, meaning it forms entirely within the range of the preceding candle.
Inside candles are commonly interpreted by traders as periods of market consolidation or indecision and often precede breakouts or significant price moves. This indicator highlights these candles directly on your chart, making them easy to spot at a glance.
Features
Detects Inside Candles: Automatically identifies bars that are fully contained within the previous bar’s high-low range.
Confirmed Bar Coloring: Colors the candle after it closes, ensuring no repainting occurs during formation.
Style Tab Customization: Users can adjust the candle color directly from the Style tab, allowing seamless integration with your chart theme.
Clean & Minimal: Only inside candles are highlighted, keeping charts uncluttered.
How Traders Can Use It
Identify Consolidation Zones: Quickly spot periods where the market is contracting.
Prepare for Breakouts: Inside candles often signal an upcoming directional move; traders can plan entry or exit points based on breakouts from the inside candle range.
Combine With Other Indicators: Use alongside trend indicators, volume tools, or support/resistance levels to enhance trade confirmation.
Recommended Use
Works on all timeframes — from intraday charts to daily or weekly charts.
Particularly useful in price action trading, swing trading, and trend-following strategies.
Ideal for traders who want a visual cue for consolidation and potential breakout areas without adding complexity to the chart.
Note: This indicator only highlights inside candles. Interpretation and trading decisions are left to the user.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。