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.