Does calling the deinit() function make an EA quit? How can I make an EA bail out or quit, for inistance if it can't connect to a server or such?
Broker Challenge "NDD/STP" vs. True "ECN" and "Mkt Mkr" broker talk 46 replies
Dealing with "Invalid Price", "Requote", "Server Busy" in MT4 3 replies
It’s our job to trade "Futures" not "Histories", by Joe Ross 7 replies
"Bagovino Method" VS "Cornflower Hourly System" 16 replies
Why "forex" and not "futures" ? 1 reply
DislikedDoes calling the deinit() function make an EA quit? How can I make an EA bail out or quit, for inistance if it can't connect to a server or such?Ignored
DislikedThanks for the reply
So if I call return(0) in init() from the startegy tester it will bail out?
You can't prevent the start() function from running every tick so you must specify your own criteria.
I think I get it nowIgnored
DislikedThanks for the reply
So if I call return(0) in init() from the startegy tester it will bail out?Ignored
int start() { if(IsTesting()) { return(0); } // ... other codes here ... }