OPEN-SOURCE SCRIPT

Session [ShuZik]

Updated
The Trading Sessions Indicator is a tool that draws smart boxes around the ranges of four trading sessions.
By default, it is set to display the Asian, Frankfurt London and New York sessions in UTC+3 time.

Users can customize:
  1. the time for each session,
  2. Enable/Disable the appearing of sessions box,
  3. change smart box color


The indicator is designed for use on 5-minute timeframe but is working for use from 1 minute to 1 hour.

All parameters, such as session times, the number of sessions, and colors, can be adjusted through the settings, allowing the indicator to be tailored to any trading style and user preferences. It is primarily aimed at working with forex and cryptocurrency markets.
Release Notes
Improvements:
  1. Optimize code
  2. The time input block for sessions in the settings is simpler and more intuitive.


New Features of Customizable Sessions:
  1. Added time zones
  2. Added the ability to name sessions
    snapshot
  3. Added the ability to add boxes to sessions
    snapshot
  4. Added the ability to add outlines to sessions
    snapshot
  5. You can use different approaches to visual design
Release Notes
Improvements:
  1. The settings are now simpler and more intuitive.
  2. Working with boxes and session borders is now easier and more convenient.
  3. You can choose the type of line for session borders.


New Features:
  1. Added PDH/PDL and PWH/PWL: This allows better tracking of price levels.
  2. Adjustable Text Size: You can now change the text size for sessions and previous highs/lows.
Release Notes
Improvements:
  1. Customization is now available for each session individually.

multi-timeframemultitimeframesessionsessionopensessionrangesessionssessiontimingsessiontradingtimeframetimeframes

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer