Download MetaTrader 5

Backtesting bug? Massive profit miscalculations (Build 1031)

To add comments, please log in or register
shyftus
215
shyftus  

Hi Everyone,

Backtesting an EA and have noticed some incredibly strange profit results:

Long trade is trailed out 4 pips above the entry price but results in a $67 loss


Commission charge is only .7 pips, so should still be a 3.3 pip profit. Account is in USD and lot size .21 = $2.10 / pip.

Any idea why backtester is giving me a $67 loss (approx 32 pips) from a profitable trade?

I've never come across this before ...

Jose Francisco Casado Fernandez
3252
Jose Francisco Casado Fernandez  
shyftus:

Hi Everyone,

Backtesting an EA and have noticed some incredibly strange profit results:

Long trade is trailed out 4 pips above the entry price but results in a $67 loss

Commission charge is only .7 pips, so should still be a 3.3 pip profit. Account is in USD and lot size .21 = $2.10 / pip.

Any idea why backtester is giving me a $67 loss (approx 32 pips) from a profitable trade?

I've never come across this before ...

It's due to SWAP. Your order has remained open for more than 2 months. You can read this similar thread.  Regards.

https://www.mql5.com/en/forum/166621

Question about Tester Commisions and Swaps
Question about Tester Commisions and Swaps
  • www.mql5.com
Another proof why an EA has most of times completely different results on live...
shyftus
215
shyftus  
Jose Francisco Casado Fernandez:

It's due to SWAP. Your order has remained open for more than 2 months. You can read this similar thread.  Regards.

https://www.mql5.com/en/forum/166621

DOH! I'm Such an idiot. Been working on lower time frames too much, completely forgot about swap!

Thanks mate!

Jose Francisco Casado Fernandez
3252
Jose Francisco Casado Fernandez  
Ok. I'm glad you clarified it. Regards.
To add comments, please log in or register