Download MetaTrader 5

OrderSend Error 131 - how to change offline parameters?

To add comments, please log in or register
danilodn
25
danilodn 2014.01.25 15:16 

I am getting these parameters when trying to do offline backtest:

- MarketInfo(Symbol(), MODE_LOTSIZE): 100.000

- MarketInfo(Symbol(), MODE_MINLOT): 0.1

- MarketInfo(Symbol(), MODE_LOTSTEP): 0.1

- MarketInfo(Symbol(), MODE_MAXLOT): 100

After I login to an account it goes to 100.000, 0.01, 0.01, 99.999, and keeps these values even if I delete the account.

But this MT4 instance is just for backtesting, so it should stay offline, right?

Questions:

- Is there a way to change the initial values without login to an account?

- The backtest is affected if I login and delete the account after that?

Tx.

P.S. By the way, I am getting only 25% in the 1 minute time, and 90% in the others. Is this normal or can I fix it?

Simon Gniadkowski
Moderator
18002
Simon Gniadkowski 2014.01.25 17:08  
danilodn:

I am getting these parameters when trying to do offline backtest:

- MarketInfo(Symbol(), MODE_LOTSIZE): 100.000

- MarketInfo(Symbol(), MODE_MINLOT): 0.1

- MarketInfo(Symbol(), MODE_LOTSTEP): 0.1

- MarketInfo(Symbol(), MODE_MAXLOT): 100

After I login to an account it goes to 100.000, 0.01, 0.01, 99.999, and keeps these values even if I delete the account.

You need to login at least once to get the correct data into the symbols.sel file and other files . . . then you can go offline and stay offline.


P.S. By the way, I am getting only 25% in the 1 minute time, and 90% in the others. Is this normal or can I fix it?

I think that is normal.
To add comments, please log in or register