MetaTrader Errors

Here are some common errors faced when placing trades through PineConnector.


MetaTrader 4

 Error Value Description Remarks
130 Invalid stops

You might have sent a an alert in pips while your EA setting is set to price. Alternatively, your SL is higher or TP is lower than your current price for long trades and vice versa.

*Also check your EA settings - it might be in pips target when you intend for price targets and vice versa.

**Ensure that your SL is not too close. You may check the minimum stops of the symbol in the symbol list under "Stops level".

131 Invalid trade volume Ensure minimum and incremental volume supported by broker. See symbol information (CTRL+U)
132 Market is closed TGIF no more trading
133 Trade is disabled

Symbol restricted by broker.

Ensure that Live Trading is Allowed.

4017 DLL calls are not allowed Allow DLL calls in your EA and options


For a full list of MetaTrader 4 (MQL4) errors, please refer HERE.


MetaTrader 5

 Error Value Description
Trading by Expert Advisors prohibited
Allow trading in the EA properties.
Trade request sending failed


  1. Unsupported filling mode
    1. If you are using the MT5 version, download this copy of the EA.
    2. If the above copy does not work, contact support through LiveChat.
  2. No prices 
    1. Symbol not highlighed in yellow in symbol list. Next alert onwards for the symbol should go through.
Array not in range Varied -

Try in order:

  1. Close all open trades and orders. Ensure all EAs removed. Restart MT5 and reattach PineConnector EA.
  2. Check your MT5 build (Help > About). Ensure you are using the latest stable build. Latest stable build can be found HERE.


For a full list of MetaTrader 5 (MQL5) errors, please refer HERE.