PROTECTED SOURCE SCRIPT
Institutional Smart Money Concept

█ INSTITUTIONAL SMART MONEY CONCEPT (ISMC) █
A professional-grade Smart Money Concept indicator — fully non-repainting, modular, and built for institutional-level price action analysis.
Every signal is confirmed on bar close using pivot-based logic. Nothing repaints. What you see on historical bars is exactly what was shown in real time.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 1. MARKET STRUCTURE (Swing Highs & Lows)
Automatically identifies Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) using configurable pivot detection. Labels are plotted directly at confirmed swing points.
📈 2. BREAK OF STRUCTURE (BOS)
Detects when price breaks a previous swing level in the direction of the existing trend — confirming continuation. Drawn as a solid line with a "BOS" label.
🔄 3. CHANGE OF CHARACTER (CHoCH)
Detects when price breaks a swing level against the existing trend — signaling a potential reversal. Drawn as a dashed line with a "CHoCH" label in a distinct color.
🟩 4. ORDER BLOCKS (OB)
Identifies the last opposing candle before a BOS/CHoCH event:
• Bullish OB → Last bearish candle before a bullish break (demand zone)
• Bearish OB → Last bullish candle before a bearish break (supply zone)
Order blocks are drawn as semi-transparent rectangle zones that extend right and are automatically removed once price closes through the zone (mitigated).
⬜ 5. FAIR VALUE GAPS (FVG)
Detects 3-candle price imbalances where price moved too fast, leaving unfilled space:
• Bullish FVG → Gap up imbalance (potential support)
• Bearish FVG → Gap down imbalance (potential resistance)
FVG boxes extend right and are removed when price fills the gap.
💰 6. LIQUIDITY — EQUAL HIGHS & EQUAL LOWS (EQH / EQL)
Identifies clusters of swing highs or lows at nearly the same price using an ATR-based tolerance. These equal levels represent resting liquidity that institutions often target before reversing. Marked with dashed lines and removed when swept.
⚖️ 7. PREMIUM / DISCOUNT ZONE
Calculates the equilibrium (midpoint) between the most recent swing high and low:
• Premium Zone (above midpoint) → Shaded red — favorable for sells
• Discount Zone (below midpoint) → Shaded green — favorable for buys
📊 8. MULTI-TIMEFRAME BIAS
Pulls confirmed data from a higher timeframe (default: Daily) to show the broader trend direction in a clean info panel. Uses request.security with lookahead_off — fully non-repainting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 BUILT-IN ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Bullish / Bearish BOS
✅ Bullish / Bearish CHoCH
✅ New Bullish / Bearish Order Block
✅ Bullish / Bearish FVG Created
✅ EQH / EQL Liquidity Sweep
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FULLY CUSTOMIZABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Every component can be toggled on/off independently:
• Show / Hide Structure Labels (HH, HL, LH, LL)
• Show / Hide BOS & CHoCH lines
• Show / Hide Order Block zones
• Show / Hide Fair Value Gaps
• Show / Hide Liquidity levels (EQH / EQL)
• Show / Hide Premium / Discount shading
• Show / Hide HTF Bias panel
Colors, swing length, internal structure length, max active objects, and ATR tolerance are all configurable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
� HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Identify the trend using HH/HL (bullish) or LH/LL (bearish) structure
2. Wait for BOS to confirm continuation, or CHoCH for reversal
3. Look for entries at Order Blocks and FVGs in the trend direction
4. Avoid premium zones for longs and discount zones for shorts
5. Watch EQH/EQL levels — price often sweeps liquidity before reversing
6. Confirm direction with the HTF bias panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is a technical analysis tool designed to visualize Smart Money Concepts. It does not provide buy/sell signals. Always use proper risk management and combine with your own analysis. Past performance is not indicative of future results.
🔱 Built by Brahmastra Trading Systems
A professional-grade Smart Money Concept indicator — fully non-repainting, modular, and built for institutional-level price action analysis.
Every signal is confirmed on bar close using pivot-based logic. Nothing repaints. What you see on historical bars is exactly what was shown in real time.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 1. MARKET STRUCTURE (Swing Highs & Lows)
Automatically identifies Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) using configurable pivot detection. Labels are plotted directly at confirmed swing points.
📈 2. BREAK OF STRUCTURE (BOS)
Detects when price breaks a previous swing level in the direction of the existing trend — confirming continuation. Drawn as a solid line with a "BOS" label.
🔄 3. CHANGE OF CHARACTER (CHoCH)
Detects when price breaks a swing level against the existing trend — signaling a potential reversal. Drawn as a dashed line with a "CHoCH" label in a distinct color.
🟩 4. ORDER BLOCKS (OB)
Identifies the last opposing candle before a BOS/CHoCH event:
• Bullish OB → Last bearish candle before a bullish break (demand zone)
• Bearish OB → Last bullish candle before a bearish break (supply zone)
Order blocks are drawn as semi-transparent rectangle zones that extend right and are automatically removed once price closes through the zone (mitigated).
⬜ 5. FAIR VALUE GAPS (FVG)
Detects 3-candle price imbalances where price moved too fast, leaving unfilled space:
• Bullish FVG → Gap up imbalance (potential support)
• Bearish FVG → Gap down imbalance (potential resistance)
FVG boxes extend right and are removed when price fills the gap.
💰 6. LIQUIDITY — EQUAL HIGHS & EQUAL LOWS (EQH / EQL)
Identifies clusters of swing highs or lows at nearly the same price using an ATR-based tolerance. These equal levels represent resting liquidity that institutions often target before reversing. Marked with dashed lines and removed when swept.
⚖️ 7. PREMIUM / DISCOUNT ZONE
Calculates the equilibrium (midpoint) between the most recent swing high and low:
• Premium Zone (above midpoint) → Shaded red — favorable for sells
• Discount Zone (below midpoint) → Shaded green — favorable for buys
📊 8. MULTI-TIMEFRAME BIAS
Pulls confirmed data from a higher timeframe (default: Daily) to show the broader trend direction in a clean info panel. Uses request.security with lookahead_off — fully non-repainting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 BUILT-IN ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Bullish / Bearish BOS
✅ Bullish / Bearish CHoCH
✅ New Bullish / Bearish Order Block
✅ Bullish / Bearish FVG Created
✅ EQH / EQL Liquidity Sweep
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FULLY CUSTOMIZABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Every component can be toggled on/off independently:
• Show / Hide Structure Labels (HH, HL, LH, LL)
• Show / Hide BOS & CHoCH lines
• Show / Hide Order Block zones
• Show / Hide Fair Value Gaps
• Show / Hide Liquidity levels (EQH / EQL)
• Show / Hide Premium / Discount shading
• Show / Hide HTF Bias panel
Colors, swing length, internal structure length, max active objects, and ATR tolerance are all configurable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
� HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Identify the trend using HH/HL (bullish) or LH/LL (bearish) structure
2. Wait for BOS to confirm continuation, or CHoCH for reversal
3. Look for entries at Order Blocks and FVGs in the trend direction
4. Avoid premium zones for longs and discount zones for shorts
5. Watch EQH/EQL levels — price often sweeps liquidity before reversing
6. Confirm direction with the HTF bias panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is a technical analysis tool designed to visualize Smart Money Concepts. It does not provide buy/sell signals. Always use proper risk management and combine with your own analysis. Past performance is not indicative of future results.
🔱 Built by Brahmastra Trading Systems
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.