Does OrdersHistoryTotal() work with strategy tester ?

 

I wrote this EA

int start()
{
//----
Print("History total",OrdersHistoryTotal() ) ;
int handle=FileOpen("mffd.csv",FILE_CSV|FILE_READ|FILE_WRITE,';');
FileSeek(handle, 0, SEEK_END);
FileWrite(handle, " 0 "," OrdersHistoryTotal()=",OrdersHistoryTotal(),TimeToStr(TimeCurrent()));
FileClose(handle);
//----
return(0);
}

As it is sunday, I can't test it inside a chart, as the data feed is stopped

So I tested it through the strategy tester.

I use the file statements (Print seems not working with the tester)

The results are in the file mffd.csv

I see that OrdersHistoryTotal is 0, although I do have orders in my MT4 account history

Is that normal ?

Thanks