please help, display of profit in MT4 is strange

 

Hello MQL4 community,

 

I am new to programming MQL4 and backtesting mit MetaTrader4 and have the following problem.

I wrote an very simple EA which seems to work so far.

But I have a problem...the profit does not match the open and closing of the positions:

 

 Profit

 The shown profit seems to be 1/4th or the real profit...does anybody has an idea why this happens?

thank you very much

 

Best regards

 
Heiner33:

Hello MQL4 community,

 

I am new to programming MQL4 and backtesting mit MetaTrader4 and have the following problem.

I wrote an very simple EA which seems to work so far.

But I have a problem...the profit does not match the open and closing of the positions:

 

 

 The shown profit seems to be 1/4th or the real profit...does anybody has an idea why this happens?

thank you very much

 

Best regards

 

 

 

Welcome to mql4.com forum,

Which symbol are you testing ?

 
Heiner33:  The shown profit seems to be 1/4th or the real profit...does anybody has an idea why this happens?
And what is the account currency??
Reason: