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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.