Forum

stratgegy testing / optimization within current day

Hello, Is there a way to launch strategy tester or optimization against current unfinished day data ? Example : from midnight to now(). When I choose date of today (before the end of the day) I have an errot message saying to go to math calculation mode (but I do not want to play with math I just

What is mrate[0].close value a the very begining of the current bar ?

Hi there, Can someone give me a clear view on the folllowing ?. MqlRates mrate[]; ///--- copying data of the last 3 bars if(CopyRates(_Symbol,_Period,0,3,mrate)<0) { Alert("Historical quote copy error - error: ",GetLastError(),"!!"); return; } Bar_time[0]=mrate[0].time; //--- if both time values