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.


Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?