10 Nov 2017 This is the most common error with XTB broker and Purple Trading and it ERR_INVALID_TRADE_VOLUME, 131, Invalid trade volume. 14 Sep 2018 131 – Invalid trade volume error. 133 – Trade is disabled error. 134 – Not enough money error. 146 – Trade context is busy error. 148 – Too many 130. ERR_INVALID_STOPS. Invalid stops. 131. ERR_INVALID_TRADE_VOLUME. Invalid trade volume. 132. ERR_MARKET_CLOSED. Market is closed. 133. ERR_INVALID_STOPS, 130, Invalid stops. ERR_INVALID_TRADE_VOLUME, 131, Invalid trade volume. ERR_MARKET_CLOSED, 132, Market is closed. 結果 // エラーコード: 131 詳細:invalid trade volume } ターミナルで"OrderSend error xxx"が表示された場合は、上記エラーコードで確認しましょう。 △ページトップに 25 Apr 2013 For manual trading, I keep physical journals handy to write down my thoughts. I don't Have a way of handling MT4 errors and disconnections. stops"; break; case 131: error_string="invalid trade volume"; break; case 132: 9 Apr 2019 I'm getting the following error when i try to place a trade using _price: '0.0' as per the instruction in the tut.. Can you please tell me why its
Those errors imply your trade size is invalid. You don’t need fractional position sizes in Builder to get your micro lot. Builder works in “shares”, not lots. A full-size forex lot is 100000 shares, a mini lot is 10000 shares, etc. In Builder, the point value should be 1, It seems that Strategy Tester in disconnected mode throws errors 131 (invalid trading volume) after the update to 880 or 890, when testing any strategies . The artificial copy of the broker environment created with the Test Helper script cannot be used for testing with builds 845+ any longer . The last known build suitable for the offline testing was …
Now we know that it indicates an error during a trade open, with the code 131. If you look at the full list of error code descriptions, this one means “invalid trade volume”, which alerts us to check the money management settings that we have set for the Expert Advisor. This kind of error appears when a lot size is zero, if it is too small or if it is too big, because all brokers have lot size limitations.
Hi Fnag, Thanks for the further info, however it's still not clear how to reproduce the issue consistently. It does sound like a the EA is dependent on some sort of parameter used to calculate the volume or that some MT4 setting is "missing" when the terminal is offline. Those errors imply your trade size is invalid. You don’t need fractional position sizes in Builder to get your micro lot. Builder works in “shares”, not lots. A full-size forex lot is 100000 shares, a mini lot is 10000 shares, etc. In Builder, the point value should be 1,
10 Nov 2017 This is the most common error with XTB broker and Purple Trading and it ERR_INVALID_TRADE_VOLUME, 131, Invalid trade volume. 14 Sep 2018 131 – Invalid trade volume error. 133 – Trade is disabled error. 134 – Not enough money error. 146 – Trade context is busy error. 148 – Too many 130. ERR_INVALID_STOPS. Invalid stops. 131. ERR_INVALID_TRADE_VOLUME. Invalid trade volume. 132. ERR_MARKET_CLOSED. Market is closed. 133. ERR_INVALID_STOPS, 130, Invalid stops. ERR_INVALID_TRADE_VOLUME, 131, Invalid trade volume. ERR_MARKET_CLOSED, 132, Market is closed.