Metaquotes data change BACKTEST!

 

Hello,

In these weeks, I have carried out some backtests on Metatrader and fortunately everything went smoothly. However, a few days later, I tried another backtest using the same code, variables, and financial instrument. Now, the lots during the backtest have halved. To give a simple example, the first trade executed on a capital of $250,000 opened with 2.50 lots of DAX, but now it opens with 1.25 lots of DAX.

Could there have been a change in the information of the Metaquotes data? Thank you for your response.

 

Obviously there was a change.

It's impossible to know which one with the information provided.

Check how is your lot size calculated and what can changes the value.

 
Alain Verleyen #:

Obviously there was a change.

It's impossible to know which one with the information provided.

Check how is your lot size calculated and what can changes the value.

Thank you for the quick reply .

So it can come from MetaTrader 5 Client Terminal build 3660 update ?

Because it is very strange that before it opened with 2.50 lots and now it opens with 1.25 lots, it has halved the value.

 
RODOLFO GIULIANA #:

Thank you for the quick reply .

So it can come from MetaTrader 5 Client Terminal build 3660 update ?

No.

Because it is very strange that before it opened with 2.50 lots and now it opens with 1.25 lots, it has halved the value.

It comes from the trading environment (data, symbol's properties) or settings.