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.


Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?