OrdersTotal() in Backtest vs Live

 

Hi,

I try to fix one EA, and make and indicator that shows OrdersTotal(), but when I do backtest and attach the indicator that shows total orders, the indicator shows NOT THE BACKTESTED EA's total orders,

it shows the actual MT4 account orders.

So, what the problem and solution?

 
Write the code to get OrdersTotal() into the EA
 
But when I do Bactest I cannot attach another EA to backtest :( only indicator...
 
Write the code to get OrdersTotal() into the EA that you are testing
 
I dont have source code, cannot decompile etc...
Reason: