The IBOB Algorithm identifies two powerful candlestick patterns: Inside Bars (compression) and Outside Bars (expansion). These patterns represent fundamentally different market states and require different trading approaches.

Quick Facts:
The IBOB Algorithm identifies two powerful candlestick patterns: Inside Bars (compression) and Outside Bars (expansion). These patterns represent fundamentally different market states and require different trading approaches.
Inside Bars signal consolidation and pending breakouts. Outside Bars signal volatility expansion and momentum. The algorithm trades both patterns with pattern-specific entry and exit logic.
INSIDE BAR DETECTION An inside bar is completely contained within the previous bar:
OUTSIDE BAR DETECTION An outside bar completely engulfs the previous bar:
ENTRY LOGIC Inside Bar:
Outside Bar:
MULTI-BAR PATTERNS Track consecutive inside bars for tighter compression:
PATTERN SELECTION:
INSIDE BAR BREAKOUT:
OUTSIDE BAR:
✅ DAILY INSIDE BARS for swing trade setups ✅ INTRADAY COMPRESSION before session opens ✅ OUTSIDE BARS for momentum continuation ✅ VOLATILITY REGIME detection
Subscribe to Technical Indicator or higher to access
Own the complete Pine Script source code forever. Modify, customize, and use it on your own TradingView account.
What you get with source code:
We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. Read our Privacy Policy for more information.