Control Trading Times of a locked EA

 

I have an EA that I bought that after forward testing shows that it performs better at different times in the market. I can't get inside the EA to control the timing of trade operations. Can anyone suggest a way to allow the EA to continue running so that its signals are not disturbed, but switch the trades between a live account and a dummy account depending on the time of the markets. I can program but am new to MT4 and so would really appreciate the help of more experienced people to point me in the right direction Thanks

 
I have since come up with the idea of turning the "Live Trading" checkbox on EA properties on and off using a script. How do I access this property of a running EA with a script?
Reason: