Wrong Trading History in MQL5? Small mistakes lead to deviations in the percentage growth.

 
Hello Community. I think I have encountered a bug in the calculation system of MQL5. 

I downloaded the trading history from a Signal Provider in CSV format and recalculated it because I need that for my own Software.

As you can see, the deposit was preferred to the trade although the chronological order makes no sense. 

is this intentional or a mistake?


 

If it is from one signal provider so it may be the following situation:
the broker archived the history as the balance operations, and some trade was not archived by the broker.

 
Sergey Golubev #:

If it is from one signal provider so it may be the followinhg situation:
the broker archived the history as the balance operations, and some trade was not archibed by the broker.

so that means it´s a broker issue because he archived the trading history wrong?

 
Rocky B #:

so that means it´s a broker issue because he archived the trading history wrong?

I express it as an idea (I do not know the real reason for this issue sorry).

If broker archived the history as balance operation so he/broker can not do it wrong (because he is doing what he wants ...).
And this "archiving the history as balance operations" issue may be the big issue for signal providers because some part of their (signal providers) history was desappeared and the statictics are recalculated.
read this summary post for details (with replies of admins):  

It may be the other situation: ther signal provider provided balance operation by himself (deposit/withdrawal) while orders are opened:

Forum on trading, automated trading systems and testing trading strategies

My Signals / Incorrect drawdowan statistics

Eleni Anna Branou, 2020.08.31 15:19

MQL5 technicians have replied: We've analyzed this case and can say that the calculation is right. It's a very complex algorithm. For this signal balance operations were performed while trading orders were open, so special calculation rules were used. We can only advise not to perform balance operations with trading orders open.


Account monitoring system does not match actual performance / Balance
Account monitoring system does not match actual performance / Balance
  • 2021.07.21
  • www.mql5.com
Good morning everyone, I took a trade yesterday and made some profits, this actually put me up for the month of July; however, it still shows I am...
 
Rocky B:
As you can see, the deposit was preferred to the trade although the chronological order makes no sense. 

The answer is simple: history is ordered by closing date.

 
Marsel #:

The answer is simple: history is ordered by closing date.

makes sense