OPEN-SOURCE SCRIPT

Nexus Sessions Session High/Low (Asia / London / New York)

330
Draws the running high and low of the Asia, London and New York sessions as clean horizontal
lines with labels that follow price. No boxes, no vertical dividers, no clutter — just the levels.

CORE + CARRY WINDOWS
Each session has a core window and a carry window, and the level keeps forming through both
before it locks. London's range isn't finished at 05:00 — flow from that session keeps working
the book for hours, and a high printed at 08:54 still belongs to London even though the core
ended long before. Defaults: Asia 18:00-00:00 (carry to 02:00), London 02:00-05:00 (carry to
09:30), New York 09:30-11:00 (carry to 16:00), all New York time.

SWEPT LEVELS
Once a session's core and carry are both done, its high and low lock. If price later trades back
through one, that line turns dotted and relabels itself SWEPT — while keeping its session colour,
so you can still tell at a glance whose liquidity just got taken. An untouched session extreme is
resting liquidity; a swept one is spent. Nothing gets marked swept while the level is still
forming, so a new high inside its own session never false-flags as a sweep of itself.

TWO WAYS TO DRAW THE LINE
By default each line starts on the bar that actually printed the high or low, so you can see
exactly when the level was set. Switch to Session open and the line spans the entire session
instead, showing how long the level has been in play and how much of the session traded above or
below it. Same levels, two different questions.

TIMEZONES
Defaults are New York time and the standard core windows, so it lines up with what you're already
reading. Each session can also be switched to its own market's local time — which changes nothing
for about 48 weeks a year, and differs only in the ~4 weeks when the US and UK clocks disagree.
Japan observes no DST at all, so an Asia window pinned to New York drifts against Tokyo at every
US changeover. Pick native if you want the literal London open; leave it on New York to match
every other session tool.

Full colour control per session — separate high, low and swept colours — plus infinite or
fixed-length extension, adjustable label offset, and per-session toggles.

Open source and fully commented. Take it, change it, use it.

I build custom indicators and backtesting tools — message me if you need something specific.

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.