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.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.