OPEN-SOURCE SCRIPT

ICT Market Structure [KTY]

265
ICT Market Structure Indicator

Overview
This indicator automatically detects and displays Market Structure based on ICT (Inner Circle Trader) methodology.
Market structure analysis identifies trend direction and potential reversal points by tracking swing highs and lows. Understanding structure is fundamental to ICT trading concepts.

Key Features
Internal & External Structure

Internal Structure: Short-term swings for quick trend detection (displayed with dashed lines)
External Structure: Long-term swings for major trend identification (displayed with solid lines)
Choose to display Internal, External, Both, or None

CHoCH & BOS Detection

CHoCH (Change of Character): First sign of potential trend reversal
BOS (Break of Structure): Confirmation of trend continuation
Internal labels: lowercase (choch/bos)
External labels: uppercase (CHOCH/BOS)

Equal Highs & Equal Lows

EQH: Multiple highs at similar price levels — liquidity pool above
EQL: Multiple lows at similar price levels — liquidity pool below
Smart money often sweeps these levels before reversing

Swing Point Labels

HH (Higher High): Uptrend continuation
HL (Higher Low): Uptrend confirmation
LH (Lower High): Downtrend continuation
LL (Lower Low): Downtrend confirmation


How to Use

Identify the trend using HH/HL (bullish) or LH/LL (bearish) patterns
Wait for CHoCH as the first signal of potential reversal
Confirm with BOS in the new direction
Watch EQH/EQL levels for potential liquidity sweeps
Combine with OB, FVG, Liquidity zones for higher probability setups

Pro Tips:

External structure is more reliable than internal structure
CHoCH after liquidity sweep = high probability reversal
Multiple timeframe analysis increases accuracy
Internal CHoCH can provide early entries, but with higher risk


Settings
SettingDescriptionStructure TypeSelect INTERNAL, EXTERNAL, ALL, or NONEInternal Structure ColorsCustomize bullish/bearish colors for internal structureExternal Structure ColorsCustomize bullish/bearish colors for external structureEQL & EQHToggle equal highs/lows display with custom colorsSwing PointsToggle HH/HL/LH/LL labels with custom color

Alerts
Structure Alerts:

🟢 Bullish CHoCH (Internal)
🔴 Bearish CHoCH (Internal)
🟢 Bullish CHOCH (External)
🔴 Bearish CHOCH (External)
🟢 Bullish BOS (Internal)
🔴 Bearish BOS (Internal)
🟢 Bullish BOS (External)
🔴 Bearish BOS (External)

Equal Levels Alerts:

🔴 Equal Highs (EQH)
🟢 Equal Lows (EQL)

Swing Point Alerts:

📈 Higher High (HH)
📈 Higher Low (HL)
📉 Lower High (LH)
📉 Lower Low (LL)


Notes

This indicator is designed for educational purposes
Internal structure provides faster signals but more noise
External structure is slower but more reliable
Always combine with proper risk management


If you find this indicator helpful, please leave a like and follow for more ICT-based tools!

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.