IB +Strat 2-1 ELITE 2 IB IB + Strat 2-1 ELITE (2 IB + Win Rate)This is a premium Inside Bar (IB) breakout system that combines The Strat methodology, compression analysis, and multiple quality filters with live win rate tracking to identify high-probability breakout setups.🎯 What It DoesFocuses on the 2-IB pattern (IB to IB) - a specific compression setup where you get two consecutive inside bars before a breakout. This pattern represents significant consolidation and often leads to explosive moves. The indicator applies 8 strict filters to ensure only the highest quality setups trigger signals.📊 Core Methodology1. Inside Bar (IB) ConceptInside Bar = Current bar completely contained within previous bar's rangeMother Bar: |────────|
↓
Inside Bar: |───| ← High < Mother High, Low > Mother LowWhy Inside Bars Work:
Represent consolidation/compression
Market indecision before big move
Institutional accumulation zones
Tighter range = more energy stored
2. The 2-IB Pattern (IB to IB)The "Magic" Pattern:
Bar 1 (Mother): |──────────| ← Establishes range
Bar 2 (IB1): |────| ← First compression
Bar 3 (IB2): |──| ← Second compression (SMALLER!)
Bar 4 (Break): |──────────→ ← EXPLOSIVE BREAKOUTWhy 2-IB is Superior:
More compression = More energy
Double confirmation = Higher probability
Second IB smaller = Validated compression
Rare enough to be significant
Common enough to be tradeable
Compression Requirement:
2nd IB must be smaller than 1st IB (tighter range)
Minimum 15% compression from Mother Bar (default)
Purple background shows valid compression
3. The Strat Classification SystemRob Smith's "The Strat" categorizes every bar into 3 types:Type 1 (Inside Bar):
High < Previous High
Low > Previous Low
Yellow bar on chart
Represents compression/indecision
Type 2U (Bullish Directional):
High > Previous High
Low ≥ Previous Low (not a 3)
Green bar on chart
Bullish momentum
Type 2D (Bearish Directional):
Low < Previous Low
High ≤ Previous High (not a 3)
Red bar on chart
Bearish momentum
Type 3 (Outside Bar):
High > Previous High
Low < Previous Low
Purple bar on chart
Expansion/volatility
4. The Strat 2-1-2 PatternThe Gold Standard Setup:Bullish 2-1-2:
Bar 1: Type 1 (Inside) ← Compression
Bar 2: Type 2U (Break Up) ← SIGNALBearish 2-1-2:
Bar 1: Type 1 (Inside) ← Compression
Bar 2: Type 2D (Break Down) ← SIGNALWhy It Works:
Type 1 = Consolidation (coiling spring)
Type 2 = Directional break = Spring releases
Institutional pattern for continuation
5. Shooter Pattern (Advanced Reversal)Most Powerful Reversal Setup:Bullish Shooter: 2D-1-2U
Bar 1: Type 2D (Down move)
Bar 2: Type 1 (Inside - pause)
Bar 3: Type 2U (Break up) ← REVERSAL SIGNALBearish Shooter: 2U-1-2D
Bar 1: Type 2U (Up move)
Bar 2: Type 1 (Inside - pause)
Bar 3: Type 2D (Break down) ← REVERSAL SIGNALWhy Shooters are Powerful:
Capture trend exhaustion
Type 1 = Institutions repositioning
Violent reversals often follow
Small circles mark shooter patterns on chart
🔒 8-Filter Quality Control SystemFilter 1: Minimum 2 Consecutive Inside Bars
Default requires 2 IB minimum
Adjustable 2-10 range
More IB = tighter compression
Status: Shows current IB count
Filter 2: Compression Validation
2nd IB must be smaller than 1st IB
Minimum 15% compression from Mother Bar
Validates true consolidation
Purple background when active
Status: Shows compression percentage
Filter 3: Strat 2-1-2 Pattern
Requires Type 1 followed by Type 2U/2D
Can optionally require Shooter pattern
Institutional entry confirmation
Status: Shows if 2-1 pattern detected
Filter 4: HTF (Higher Timeframe) Continuity
Default: 60-minute timeframe
Checks if HTF is bullish (2U/3 green) or bearish (2D/3 red)
Only takes trades in HTF direction
Continuity = Trading with the tide
Status: Shows HTF direction
Filter 5: HTF2 (Second Higher Timeframe)
Optional: 240-minute (4H) timeframe
Additional confirmation layer
For swing traders wanting extra confirmation
Status: Displays when enabled
Filter 6: Volume Spike Requirement
10-level volume scale (1-10)
Default requires level 7+
Normalized against 20-bar average
Optional volume expansion check
Status: Shows current volume level
Filter 7: Trend Alignment (EMA)
Default: 50 EMA
Long: Price > EMA + EMA sloping up
Short: Price < EMA + EMA sloping down
EMA plotted on chart (green up, red down)
Status: Shows price vs EMA + slope
Filter 8: ATR Volatility Check
Mother Bar range must be within 0.5-3.0x ATR
Too small = no follow-through
Too large = overextended
Ensures "normal" consolidation size
Status: Shows if ATR valid
📊 Elite Signal Requirements⭐ ELITE SIGNAL = 7 or 8 filters passedWhen 7+ filters align:
Gold diamond shape on chart
"⭐ ELITE BUY/SELL" label
Separate win rate tracking
Highest probability setups
Standard signals (4-6 filters):
Regular triangle shapes
Green/Red labels
Still good quality
🎨 Visual ElementsBar Coloring (Strat Classification)
Yellow bars = Type 1 (Inside)
Green bars = Type 2U (Up)
Red bars = Type 2D (Down)
Purple bars = Type 3 (Outside)
Labels on Each Bar
"1", "2U", "2D", "3" = Strat type
"IB2", "IB3" etc = Inside Bar count
Tiny labels above/below bars
Mother Bar Range
Orange horizontal lines extending right
Shows breakout levels to watch
"Break: " labels on right
Updates as IB sequence builds
Compression Zone
Purple semi-transparent background
Appears when 2+ IB with valid compression
Visual cue that setup is building
EMA Trend Line
Green = Uptrending (sloping up)
Red = Downtrending (sloping down)
Gray = Flat/choppy
2-pixel width for visibility
Signal MarkersElite Signals:
🟨 Gold diamond below/above bar
Large label: "⭐ ELITE BUY/SELL"
Shows IB count and volume level
Example: "⭐ ELITE BUY 2IB×2 | V:8"
Standard Signals:
🟢 Green triangle up = BUY
🔴 Red triangle down = SELL
Shows: "BUY 2IB×2 | V:7"
Shooter Patterns:
🟢 Tiny green circle = Bullish shooter
🟣 Tiny purple circle = Bearish shooter
Stop Loss & Target:
Red dotted line = Stop Loss (Mother Bar opposite side)
Green/Red dashed line = Take Profit (1.5x Mother Bar range default)
"SL" and "TP" labels on right
📊 Live Win Rate Dashboard (Top Right)Real-time performance tracking:┌──────────────────────┐
│ 📊 2-IB WIN RATE │
├──────────────────────┤
│ OVERALL 68.2% │ ← Huge text, color-coded
│ Trades 44 (30W/14L)
│ Avg P/L +1.23% │
├──────────────────────┤
│ ⭐ ELITE 82.1 Sonnet 4.5
อินดิเคเตอร์ Pine Script®






















