Hopefully someone more intelligent at coding/MT4 than I can help me.
I'm backtesting offline on MT4 with my own data. My broker's usual MINLOT and LOTSTEP = 0.01.
both return 0.1.
This is resulting in an "OrderSend error 131" due to my position sizing being in the format of xx.xx00000000xx after normalizing the value.
What can I do to solve this?
Thanks and have a great day.
I'm testing with tick data converted to 1m data so it's usable by MT4.
All the tick and 1m data are csv files.
I believe going online will cause the history center to be filled with server data, which I don't want. Possible there's a way around that.
Does anyone know if there is a way to manually change MODE_MINLOT and MODE_LOTSTEP when not connected to any servers?
I suspect the info is in ./config/BROKERSERVER.srv if you can find the format, you can patch it