Help on coding expert advisor on market sessions

DroidM

Trader
May 21, 2020
12
0
6
26
I would like help in coding the time when my EA is turned on and off.

GMT 8:00am - 12:00pm
GMT 3:00pm - 7:00pm
GMT 12:00am - 500am

These are the hours i trade.

What code would i have to use to have my bot run at these times using my MT4 server time.
Thank you.
 

DroidM

Trader
May 21, 2020
12
0
6
26
I avoid any kind of news trading, say if there is a news event at 5:00, i will not trade the currency from 4:00-6:00, this is easy when trading manually but coding my EA to do this is almost impossible for me, would someone help me with the code for this part ?