I'm running many optimizations. I just realized that there are differents in the resutls at the same EA with same backtest options. I found the couse of the different results: the backtest uses different tick values at the cross currency pairs.
For example: My account currency is USD and I'm testing on EURCHF. I created a tick database (FXT file) with the TickStory application. In the TickStory I set the TickValue to 0.9800. When I run a backtest, the value of the MarketInfo(Symbol(),MODE_TICKVALUE) is 0.9800 - this is right. But when the EA close a trade, the OrderProfit() doesn't calculated with this TickValue. The profit of the order is 10 tick, but the OrderProfit() is not 9.8 USD. And the OrderProfit() always changing depending of the broker's actual data.
Have you ever faced with this problem? Is this a bug? Why doesn't use the backtest the PipValue I set at the currency pair? In this case I can't repeat the same backtest and I can't compare properly the results.
Do you have any suggestion what I can do?
Thank you in advance.
"..what the MT4 uses at the cross currency pairs."
I don't know what you mean with this! The tester only can proceed only one symbol (pair).
Thank you, but I'm still not closest to solving the problem.
I have to find the way for getting same results when I repeat the backtests on cross currency pair symbols.
To add comments, please log in or register