Strategy Tester and Sleep
sleep is ignored in strategy testing.
datetime nextRun; int start() { if( nextRun > TimeCurrent() ) return(0); nextRun = TimeCurrent() + 900; //...<Your usual start codes>... }
Thank you very much
I noticed sleep(900000) does not work in strategy tester.
What I would like is the start to run every 15 minutes and not on every tick. How can I do this?
L.