Is it possible to build a script that will disable an EA and delete all pending orders related to that currency pair at a specified time of day and then turn the EA back on at a specified time.
Example: I attach an EA and the script to EUR/USD and I want it to trade the NY session from 7:00 to 12:00. The script would automatically turn on the EA at 07:00EST and then disable the EA and delete all pending orders at 12:00, and then reactivate the EA then next day at 7:00.
Example: I attach an EA and the script to EUR/USD and I want it to trade the NY session from 7:00 to 12:00. The script would automatically turn on the EA at 07:00EST and then disable the EA and delete all pending orders at 12:00, and then reactivate the EA then next day at 7:00.