Mt4 Error 131
Contents |
You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. "OrderSend error 131" and "Error Opening Order:131:Invalid Trade Volume" mt4 ordersend error 130 Started by armnic1, Nov 25 2012 07:08 AM Please log in to reply
Ordersend Error 134
3 replies to this topic #1 armnic1 armnic1 Newbie Members 7 posts Posted 25 November 2012 - 07:08 ordersend error 138 AM I'm backtesting the EA and it can place a few trades at the beginning without any problems and then suddenly it gets a little bit slow, it continues advancing but
Mql4 Error 130
not showing visible trading activity but checking the Results tab on MT4 it is observed that a large/continuous number of trades were executed by the time the strategy tester slowed down; the Journal tab shows the messages "Order Send error 131" and the "Error Opening Order:131:Invalid Trade Volume". Any clue/clues regarding this behavior would be much appreciated? Back to top Report #2 Mark mql4 error 4051 Fric Mark Fric Administrator Administrators 2,896 posts Posted 01 December 2012 - 12:53 PM Hello,we solved this, I'll just post the reasons here too for the others.Error Opening Order:131:Invalid Trade Volume this error means that the EA wants to open order with incorrect lots size. It could be that it tries to open microlots order when your broker supports only minilots, not microlots.In this case it was caused by Money Management - the EA was losing money quite quickly, money management decreased lots size as there was less and less money on the account, and at some point the lots size computed by MM was smaller than the smallest allowed lots size by broker, so it caused this error. Mark StrategyQuant architect Back to top Report #3 jbendsen jbendsen Member Members 24 posts Posted 22 August 2013 - 09:39 PM Have a similar problem, but happens when trying to take 33% profit, what to do? Back to top Report #4 Mark Fric Mark Fric Administrator Administrators 2,896 posts Posted 02 September 2013 - 07:52 AM Hello, as I checked, there is a small bu
Return Codes Trade Server Return CodesCompiler WarningsCompilation ErrorsRuntime Errors Trade Server Return Codes GetLastError() - returns
Mql4 Error 4109
error codes. Error codes are defined in stderror.mqh. To
Err_invalid_trade_volume
print the error description you can use the ErrorDescription() function, defined in stdlib.mqh. Example: mql4 error code 5004 #include
log in or register Launch your trading signal and add account monitoring! 114347 Forex Trader 2006.03.13 12:41 Hi, on numerous occassions and in different situations, I keep getting Error 131 - Invalid trade volume. Backtesting https://www.mql5.com/en/forum/45360 is working just fine and then at some point in time instead of opening new order the OrderSend keeps failing and giving this error. Metatrader build is 191. Here are the outputs from the relevant functions and values of the trade volume requested: Volume (lots to open): 127.1 Total open lots: 119.6 AccountBalance 1357252.5272 AccountEquity 1271049.049 AccountFreeMargin 1149674.7672 AccountMargin 207577.76 mql4 error AccountLeverage 100 So, there is enough free margin, everything seems (to me) just fine. Is there something I'm missing or is this a real huge bug? It almost completely cripples backtesting capabilities for my expert. In hope that there is an explanation/solution... Divergence DeMarker or any custom by Vladimir Gotsulenko 10 The indicator displays divergence for any custom indicator. You only mt4 error 131 need to specify the indicator name; DeMarker is used by default. Additionally, you can opt for smoothing of values of the selected indicator and set levels whose crossing will trigger an alert. The custom indicator must be compiled (a file with ex5 extension) and located under MQL5/Indicators of the client terminal or in one of the subdirectories. It uses the zero buffer of the specified indicator with default parameters. Inp Painting Deals by Jinsong Zhang 10 Painting Deals on active chart. It allows analyzing trade history on an account to which you have an investor (read only) password. Type of the arrow displayed indicated the deal type: Right Arrow means In and In/Out deals Arrow Left Left means Out deals.Blue arrows are for Buy deals and Red arrows are for Sell deals. The indicator displays deals in the real time mode, it also displays their Stop Loss and Take Profit levels. Put the mouse over the arrows to see the details of deals includ ROMAN5 HeikenAshi TrailingStop by Anton Nel 10 ROMAN5 Heiken Ashi TrailingStop includes BreakEven facility. TrailingStop au