OPEN-SOURCE SCRIPT
Updated

Forex/Crypto/Custom Market Sessions

6 560
Credit goes to TradeMasterSavis for providing the original code

I merge the 2 sessions together allowing you to toggle between the two. I also add a 3rd custom session type and the ability to change the duration of each trading session. This would solve any problems ran into the case of Daylight savings time switch or if you just want different session duration.
Release Notes
Changed some lines of script so that is is easier to separate custom market sessions in settings menu
Release Notes
I added a 5th trading session, so you can now use that session as a "no trade zone" i.e. times where you know there will be low liquidity or unpredictable volatility.
Release Notes
I removed the clutter off my screen so you can see the indicator

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.