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.


Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?