OrdersHistoryTotal() in StrategyTester Always Returns a Zero

 

Hello There,
OrdersHistoryTotal() always returns zero, even though there are trades on my terminal during back testing with the strategy tester,

Are there any limitations of the Strategy Tester that we should know of.

I am using the Latest Version of MT4

 
I 've attached some screenshot to illustrate the matter, it seems I cannot paste it directly in the editor 
 
OrdersHistoryTotal is for closed orders in MQL4. Use OrdersTotal if you want to now the number of open orders on MetaTrader 4. Please reference the documentation.
 
Fadsel:

Hello There,
OrdersHistoryTotal() always returns zero, even though there are trades on my terminal during back testing with the strategy tester,

Are there any limitations of the Strategy Tester that we should know of.

I am using the Latest Version of MT4

OrdersHistoryTotal() does work in the tester.

Why do you think that it doesn't?

 
Fadsel: OrdersHistoryTotal() always returns zero,

It will always return zero until the first opened order closes. Your image shows nothing of use.

Reason: