OPEN-SOURCE SCRIPT
已更新 Session Sweeps and Levels

Session Sweeps and Levels (⏰)
An overlay indicator that tracks key price levels from each major trading session and detects liquidity sweeps against them. Built for futures/forex traders who use session structure as context for entries.
Tracked Sessions
Each session displays three layers: the active in-progress level (white), the last confirmed level (session color), and the previous completed level (session color). All session times, colors, and visibility are fully configurable.
Features
Use Cases
An overlay indicator that tracks key price levels from each major trading session and detects liquidity sweeps against them. Built for futures/forex traders who use session structure as context for entries.
Tracked Sessions
- Tokyo (1900–0400 ET) — High/Low
- London (0300–1200 ET) — High/Low
- Pre-NY (0400–0930 ET) — High/Low
- New York (0930–1600 ET) — High/Low/Open/Close
- Post-NY (1600–1700 ET) — High/Low
- Globex (1800–1900 ET) — High/Low
- IGIR (1700–1800 ET) — High/Low/Open
- CME Settle — 17:00 ET daily close
Each session displays three layers: the active in-progress level (white), the last confirmed level (session color), and the previous completed level (session color). All session times, colors, and visibility are fully configurable.
Features
- Liquidity Sweep Detection — fires when price wicks beyond a session level and closes back through it. Tracks bullish (low sweep) and bearish (high sweep) with configurable wick distance and per-level cooldown
- FVG Confirmation (optional) — require a Fair Value Gap on a higher timeframe to exist (and optionally match direction) before a sweep alert fires. Configurable HTF, min size, max age, and mitigation tracking
- Per-Session Sweep Toggles — enable/disable sweep scanning independently for each session, including separate toggles for NY Open and IGIR Open
- Active Session Sweeping — optionally scan in-progress session levels, not just confirmed ones
- Flexible Line Styling — solid, dashed, dotted, or arrow styles; thickness, extension, and label offset all adjustable
- Value Type Filters — toggle Highs, Lows, Opens, Settles, and Labels independently
- Price Scale Integration — all confirmed levels exposed to the right-edge price scale and Data Window for quick reference
Use Cases
- Identify liquidity pools where stops are clustered (prior session highs/lows)
- Trade sweeps of session extremes as reversal or continuation setups
- Use NY Open and Settle as intraday equilibrium reference points
- Confirm sweep trades with HTF FVG alignment to filter noise
- Feed session context into external bots or dashboards via JSON alerts
發行說明
minor開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。