OPEN-SOURCE SCRIPT
Session Micro-Structure Shift & Range Equilibrium Radar

Overview and Purpose
The Session Micro-Structure Shift and Range Equilibrium Radar is an open source technical analysis indicator designed for intraday traders utilizing ICT and Smart Money Concepts (SMC). It automates the tracking of key trading sessions like Asia, London, and New York, measures range equilibrium, and filters for structural shifts combined with Fair Value Gap (FVG) retests.
How the Indicator Works and Mathematical Logic
1. Session Range and Equilibrium Computation:
The script plots distinct session ranges for Asia (20:00 to 00:00 UTC-4), London (02:00 to 06:00 UTC-4), and New York (08:00 to 12:00 UTC-4). For each active session, the 50 percent Equilibrium level is dynamically plotted using the average of session high and session low.
2. Liquidity Sweep Detection:
The algorithm continuously checks whether price sweeps the previous session high or low liquidity levels.
3. ATR Filtered Displacement and MSS Confirmation:
Following a sweep, a Micro-Structure Shift (MSS) is validated only when a displacement candle forms. Displacement is verified using a 14 period Average True Range filter where the candle body size exceeds 0.8 times the ATR value. The bar must close beyond the active session equilibrium line to mark a true MSS.
4. Fair Value Gap (FVG) Identification and Alert Engine:
When an MSS is confirmed, the script checks for a 3 candle imbalance and draws an active zone box. To avoid signal spam, exactly one alert per session is triggered when price taps into the FVG zone.
Trading Interpretation and Application
Valid Setup (FVG Tap):
When price sweeps a session extreme, confirms an MSS across the Equilibrium level, and retraces to tap the highlighted FVG zone, a valid trade setup occurs. Traders typically place stop losses at the recent swing low or high and target a minimum 1 to 2.5 Risk to Reward ratio.
Invalidated or Unfilled Setup (Missed FVG):
If price performs all required steps like sweep and MSS but fails to retest or tap the FVG box before expanding away, no alert triggers, and the setup is treated as unfilled to protect capital.
Disclaimer
This script is strictly for educational and chart analysis purposes. It does not provide financial advice or direct trading signals. Always manage risk responsibly and perform backtesting across your chosen trading pairs.
The Session Micro-Structure Shift and Range Equilibrium Radar is an open source technical analysis indicator designed for intraday traders utilizing ICT and Smart Money Concepts (SMC). It automates the tracking of key trading sessions like Asia, London, and New York, measures range equilibrium, and filters for structural shifts combined with Fair Value Gap (FVG) retests.
How the Indicator Works and Mathematical Logic
1. Session Range and Equilibrium Computation:
The script plots distinct session ranges for Asia (20:00 to 00:00 UTC-4), London (02:00 to 06:00 UTC-4), and New York (08:00 to 12:00 UTC-4). For each active session, the 50 percent Equilibrium level is dynamically plotted using the average of session high and session low.
2. Liquidity Sweep Detection:
The algorithm continuously checks whether price sweeps the previous session high or low liquidity levels.
3. ATR Filtered Displacement and MSS Confirmation:
Following a sweep, a Micro-Structure Shift (MSS) is validated only when a displacement candle forms. Displacement is verified using a 14 period Average True Range filter where the candle body size exceeds 0.8 times the ATR value. The bar must close beyond the active session equilibrium line to mark a true MSS.
4. Fair Value Gap (FVG) Identification and Alert Engine:
When an MSS is confirmed, the script checks for a 3 candle imbalance and draws an active zone box. To avoid signal spam, exactly one alert per session is triggered when price taps into the FVG zone.
Trading Interpretation and Application
Valid Setup (FVG Tap):
When price sweeps a session extreme, confirms an MSS across the Equilibrium level, and retraces to tap the highlighted FVG zone, a valid trade setup occurs. Traders typically place stop losses at the recent swing low or high and target a minimum 1 to 2.5 Risk to Reward ratio.
Invalidated or Unfilled Setup (Missed FVG):
If price performs all required steps like sweep and MSS but fails to retest or tap the FVG box before expanding away, no alert triggers, and the setup is treated as unfilled to protect capital.
Disclaimer
This script is strictly for educational and chart analysis purposes. It does not provide financial advice or direct trading signals. Always manage risk responsibly and perform backtesting across your chosen trading pairs.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Telegram Forex SIGNAL Group Link
t.me/+0G4yqhqD3PU1ZGFk
Telegram : Username @Forex_Ace9
Follow The Trend Not The Crowd
t.me/+0G4yqhqD3PU1ZGFk
Telegram : Username @Forex_Ace9
Follow The Trend Not The Crowd
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Telegram Forex SIGNAL Group Link
t.me/+0G4yqhqD3PU1ZGFk
Telegram : Username @Forex_Ace9
Follow The Trend Not The Crowd
t.me/+0G4yqhqD3PU1ZGFk
Telegram : Username @Forex_Ace9
Follow The Trend Not The Crowd
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.