OPEN-SOURCE SCRIPT
Updated 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
Release Notes
minorOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.