BUG in metatrader5 strategy tester

 

Step to reproduce the error:

  • your account is in EUR
  • you create a custom symbol for EURUSD to import custom data(copying the standard one)

So you have:

  • Base Currency: EUR
  • Profit currency: USD
  • Margin currency: EUR

When you run the strategy tester MetaTrader search a symbol to calculate margin/profit, and this symbol doesn't exists so it take USDEUR_BASKET, and nothing works.

 
 

Thank you for your answer.

This is a workaround, but doesn't work very well. You get the result in pips instead of your currency.

What I'm asking to myself is: I'm using EUR/USD, MetaTrader has the value of EUR against USD, why do he need another symbol when he already has the symbol!!

The program has just to do 1/(EUR/USD), this is illogic!!

Reason: