OPEN-SOURCE SCRIPT
Mis à jour Inside/Outside Bars

---
Inside/Outside Bars Detector
This indicator identifies and visualizes Inside Bars and Outside Bars (Engulfing Bars) on your chart, helping traders spot potential breakout and consolidation patterns.
What are Inside/Outside Bars?
• Outside Bars (Outer Bars): Candles that break BOTH the high AND low of the previous candle. These represent periods of increased volatility and potential trend continuation or reversal. Marked with red triangle arrows by default.
• Inside Bars (Inner Bars): Candles where NEITHER the high NOR low breaks the previous candle's range. These represent consolidation and often precede significant price moves. Marked with orange triangle arrows by default.
Features:
✓ Visual arrows above bars for easy identification
✓ Fixed pixel-size arrows that remain visible at any chart zoom level
✓ Statistics table showing counts of outer bars, inner bars, and total bars analyzed
✓ Fully customizable with multiple settings
Customization Options:
• Toggle outer bars and inner bars independently
• Customize arrow colors for each pattern
• Show/hide the statistics table
• Adjust calculation bars (1000 default, max 5000)
• Set to 0 to analyze all available bars up to 5000
How to Use:
Inside bars often indicate consolidation before a breakout, while outside bars suggest increased volatility and potential momentum shifts. Use these patterns in conjunction with your trading strategy to
identify entry/exit points or to confirm trend direction.
---
Inside/Outside Bars Detector
This indicator identifies and visualizes Inside Bars and Outside Bars (Engulfing Bars) on your chart, helping traders spot potential breakout and consolidation patterns.
What are Inside/Outside Bars?
• Outside Bars (Outer Bars): Candles that break BOTH the high AND low of the previous candle. These represent periods of increased volatility and potential trend continuation or reversal. Marked with red triangle arrows by default.
• Inside Bars (Inner Bars): Candles where NEITHER the high NOR low breaks the previous candle's range. These represent consolidation and often precede significant price moves. Marked with orange triangle arrows by default.
Features:
✓ Visual arrows above bars for easy identification
✓ Fixed pixel-size arrows that remain visible at any chart zoom level
✓ Statistics table showing counts of outer bars, inner bars, and total bars analyzed
✓ Fully customizable with multiple settings
Customization Options:
• Toggle outer bars and inner bars independently
• Customize arrow colors for each pattern
• Show/hide the statistics table
• Adjust calculation bars (1000 default, max 5000)
• Set to 0 to analyze all available bars up to 5000
How to Use:
Inside bars often indicate consolidation before a breakout, while outside bars suggest increased volatility and potential momentum shifts. Use these patterns in conjunction with your trading strategy to
identify entry/exit points or to confirm trend direction.
---
Notes de version
percent added to stats table Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.