Chartaraชาร์ตารา
Time + sessions · Pine Script v6

Session Lantern

Highlights Asia, London, New York and overlap windows using a configurable timezone.

Download free
What it shows

What it shows

  • Active global session windows
  • London–New York overlap
  • Configurable session times and timezone
Limits

What it does not do

  • Measure broker execution
  • Confirm market liquidity
  • Account for holidays automatically
3 minutes

How to install

  1. Open TradingView and select Pine Editor.
  2. Paste the code below into a new indicator.
  3. Save, add to chart and adjust inputs for your own test.
Session Lantern.pine
//@version=6
indicator("Chartara — Session Lantern", overlay = true)

// Educational session overlay. Session labels do not imply liquidity or execution quality.
string timezoneInput = input.string("Etc/UTC", "Timezone")
string asiaSession = input.session("0000-0800:23456", "Asia session")
string londonSession = input.session("0800-1600:23456", "London session")
string newYorkSession = input.session("1300-2100:23456", "New York session")
bool showAsia = input.bool(true, "Show Asia")
bool showLondon = input.bool(true, "Show London")
bool showNewYork = input.bool(true, "Show New York")

bool inAsia = showAsia and not na(time(timeframe.period, asiaSession, timezoneInput))
bool inLondon = showLondon and not na(time(timeframe.period, londonSession, timezoneInput))
bool inNewYork = showNewYork and not na(time(timeframe.period, newYorkSession, timezoneInput))

color sessionColor = inLondon and inNewYork ? color.new(#B594FF, 84) : inNewYork ? color.new(#7CA8FF, 88) : inLondon ? color.new(#43D9B3, 88) : inAsia ? color.new(#F4C95D, 90) : na
bgcolor(sessionColor, title = "Active session")

plotchar(inAsia and not inAsia[1], "Asia opens", "A", location.top, color = #C59A25, size = size.tiny)
plotchar(inLondon and not inLondon[1], "London opens", "L", location.top, color = #16A085, size = size.tiny)
plotchar(inNewYork and not inNewYork[1], "New York opens", "N", location.top, color = #4D7FEA, size = size.tiny)

Broker Compass

Use this with the right setup

Every guide ends with a relevant comparison—not a forced signup. If a partner link is available in your country, it is clearly labelled.

Compare brokers