OPEN-SOURCE SCRIPT
Custom Session Boundaries with Timezone Support

This indicator draws two clean vertical lines on your chart — one marking the start of your selected trading session and one marking the end. No clutter, no extra lines between them. Just the two boundaries you care about.
It is designed for traders who want a clear visual reference of their session window directly on the chart, regardless of the timezone their broker or exchange uses.
Features:
Select your Start Hour and End Hour independently (0–23 format)
Full timezone support: UTC, New York, Chicago, London, Berlin, Bucharest, Tokyo, Singapore, Sydney
Separate color control for the start and end line
Choose between Solid, Dashed, or Dotted line style
Adjustable line width (1–4)
Works on all timeframes and all instruments
How to use:
Set your desired session start and end hour in the timezone that matches your setup. The indicator will place one vertical line at the opening of the start hour and one at the opening of the end hour, across your entire chart history.
Works well for marking sessions such as London Open, New York Open, Asian Session, or any custom time window relevant to your strategy.
It is designed for traders who want a clear visual reference of their session window directly on the chart, regardless of the timezone their broker or exchange uses.
Features:
Select your Start Hour and End Hour independently (0–23 format)
Full timezone support: UTC, New York, Chicago, London, Berlin, Bucharest, Tokyo, Singapore, Sydney
Separate color control for the start and end line
Choose between Solid, Dashed, or Dotted line style
Adjustable line width (1–4)
Works on all timeframes and all instruments
How to use:
Set your desired session start and end hour in the timezone that matches your setup. The indicator will place one vertical line at the opening of the start hour and one at the opening of the end hour, across your entire chart history.
Works well for marking sessions such as London Open, New York Open, Asian Session, or any custom time window relevant to your strategy.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.