Race condition in tester?
Mikołaj Gogola: The output of this EA should be the array of Open values one different from another,
double dt = 12345; // Thu, 01 Jan 1970 03:25:45 GMT if( Open[1] != dt )
Wrong. Your condition will be true each and every tick. Therefor you store the same value each tick. They should all be the same (assuming 100+ ticks/bar.)
Oh damn... You are so right :D I forgot to make it static... so obvious... :D Thanks man!
The output of this EA should be the array of Open values one different from another, BUT the weird repetition happens.
Can someone explain me why it happens? Is MT4 Tester working concurrently and can it mean possible race condition?
Here is the output from logs: