SacroMacro

Daily Session Windows background highlight indicator

In intraday studies of stock indexes and Forex I have this weird habit of highlighting premarket, core session, lunch break and extended session with different backgrounds. If done by hand, this is tedious work that has to be repeated daily.


I think this feature should be built-in in TradingView. But it isn't.

For a few months now, I have been using this tiny indicator that does precisely that job. It saved me literally hours of focus time and mistakes. I have decided to revamp it and release it. I'm sure it can be useful to others.

Features:

  • Background color highlighting for premarket, core session, lunch hour and extended session of the trading day.
  • Session timing preset to match US session, but can be customized.
  • Can be enabled or disabled on a day of the week basis, including week-end.
  • Timezone is selectable, matches the chart's instrument but can be set independently to track a different timezone.
  • Not affected by the timezone you decided to assign to the chat's time scale.
  • Ready for stock indexes, but can be used to highlight Forex sessions too.


Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?