OPEN-SOURCE SCRIPT

Major Trading Sessions Indicators

74
This indicator displays vertical lines on your chart to mark the opening times of the major global trading sessions (Tokyo, Shanghai/HK, London, and New York). As a crypto trader I want to find price action patterns after sessions open.

It's fully customizable and extendable (you could add closing time for sessions as well)

Works best on short timeframes.

Features:

  • 6 configurable vertical lines (4 preset for major sessions + 2 custom)
  • Each line shows a customizable label (e.g., "Tokyo", "London")
  • Individual time and color settings for each line
  • UTC offset for each line to handle Daylight Saving Time
  • Option to fix all labels at a specific price level for cleaner appearance (need to set and save it for each chart, it becomes a mess if you don't). Default behavior and limit of Pine Script is that it will be attached to the price wick.


Default Sessions:

Tokyo: 00:00 UTC (midnight)
Shanghai/HK: 01:30 UTC
London: 08:00 UTC (winter) - adjust offset to +1 for summer
New York: 13:00 UTC (winter) - adjust offset to -4 for summer

DST Adjustments:
Simply change the UTC offset when daylight saving time begins/ends:

London: 0 (winter) or +1 (summer)
New York: -5 (winter) or -4 (summer)

Lines extend from top to bottom of the chart and appear precisely when each session opens.

My preferred configuration: shorten names and reduce opacity of colors to 20-30%.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.