OPEN-SOURCE SCRIPT
ICT Market Structure [KTY]

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!
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!
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Hi, I'm Kim Thank You 👋
KTY = Kim Thank You (김땡큐)
After years of trading, I've studied countless technical analysis methods.
Now I create and share indicators based on that experience 📊
KTY = Kim Thank You (김땡큐)
After years of trading, I've studied countless technical analysis methods.
Now I create and share indicators based on that experience 📊
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Hi, I'm Kim Thank You 👋
KTY = Kim Thank You (김땡큐)
After years of trading, I've studied countless technical analysis methods.
Now I create and share indicators based on that experience 📊
KTY = Kim Thank You (김땡큐)
After years of trading, I've studied countless technical analysis methods.
Now I create and share indicators based on that experience 📊
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.