sandrika_ / Publications
Forum
While Loop In Strategy Tester, Timer
Hello. Because the default timer is not available in mql4 so I decided to write my own timer. To do so I made one second while cycle. Code Shown below void countUp() { int CurrentSecond; if (TimeSeconds( TimeLocal ()) == 59 ) CurrentSecond = - 1 ; else CurrentSecond = TimeSeconds( TimeLocal ());