Order send 131" error when back-testing DAX

Report any bugs with the Tickstory Lite software here. Please give as much detail as possible so the issue can be identified and resolved as soon as possible.
Post Reply
BigSchnitzel
Posts: 3
Joined: Sun Jun 28, 2015 7:42 pm

Order send 131" error when back-testing DAX

Post by BigSchnitzel »

Next Problem. after Downloading the files for backtesting i have the Ordersend error 131 in log file. the ea do not open any trades in backtesting.

have anyone the working settings for DAX export?

the tickstory EA do not give working informations about that

thx for help
tickstory
Posts: 5289
Joined: Sun Jan 06, 2013 12:27 am

Re: Order send 131" error when back-testing DAX

Post by tickstory »

Hi BigSchnitzel,

Order Send Error 131 is due to an invalid trade volume being specified when attempting to open a trade.
You should use the FXT Editor to check out the Lot size, lot step, min and max lot variables to make sure something sensible has been exported.
Either that, or you can place the following code in your EA:

Print(MarketInfo(Symbol(), MODE_LOTSIZE));
Print(MarketInfo(Symbol(), MODE_LOTSTEP));
Print(MarketInfo(Symbol(), MODE_MINLOT));
Print(MarketInfo(Symbol(), MODE_MAXLOT));

Once you have done this, you will need to make sure your EA is doing the necessary "normalisation" of the volume prior to opening a trade.

Google also provides a wealth of information on this particular error which hopefully should assist.

Regards.
Post Reply