Errors

Errors

Error Guide

💡
If you are facing the issue where trades are not triggering, click here. Other Errors If you do not see your error number here, please refer to the this list: MetaTrader 4: MQL4 Errors MetaTrader 5: MQL5 Errors
💡
Bugs Bunny We investigate every bug report and push a fix if required. You may submit a bug report here. Bug Reporting To enable quick debugging, please provide a screenshot of the Experts tab for review. If a video capture would better demonstrate the issue, please record your screen and share the link with us (e.g. using tools like Streamable).

MetaTrader 4

130

ERR_INVALID_STOPS

Entry price, stop-loss, or take profit is too close to the current market price.

  1. You might have intended “price” targets, but your EA’s target type setting is in “pips”
  2. Check the Symbol’s minimum stops in the Symbol List (CTRL+U) under “Stops level” indicated in points — we define 1 pip as 10 points
  3. image
💡
Recommendations
  • Use “pips” or “percentage” Target Type option in the EA
  • Use “pips” Pending Order Entry Price option in the EA
  • Use larger values to place entry price, SL and TP further (as required by the symbol)
💡
Same symbol, different prices Using “price” based Target Type and Pending Order Entry Price is typically problematic since price quotes on TradingView and your broker differ

131

ERR_INVALID_TRADE_VOLUME

Trade volume used is not supported.

💡
Recommendations
  • Check the symbol’s Volume requirements in the Symbol List
    • Ensure compliance in terms of price steps and decimal places

132

ERR_MARKET_CLOSED

The symbol’s trading session has closed.

💡
Recommendations
  • Check the symbol’s trading session in the symbol list, and place signals only during those hours

133

ERR_TRADE_DISABLED

Symbol is restricted by the broker.

💡
Recommendations
  • Ensure Symbol is enabled (lit in yellow) in the symbol list
  • Ensure Symbol indicated is exactly as per your symbol list
  • Ensure Live Trading is allowed
  • Try opening a manual position with symbol you’d like to trade to test whether the symbol is restricted

134

ERR_NOT_ENOUGH_MONEY

You have insufficient margin to open the position.

💡
Recommendations
  • Check the Experts tab where the required margin and available margin are printed
    • If required margin > available margin, use a smaller risk= value and ensure the right Volume Type is selected in the EA
    • If required margin < available margin, inform PineConnector support

4017

ERR_DLL_CALL_NOT_ALLOWED

DLL calls are not allowed.

💡
Recommendations
  • Enable DLL Call in your MT4 options
  • Enable DLL Call in the EA options

4051

ERR_INVALID_FUNCTION_PARAMETER_VALUE

Invalid function parameter value.

💡
Recommendation
  • Ensure you have a risk= in your syntax
    • risk= is a compulsory syntax for entry commands such as buy, buystop, buylimit

4106

ERR_UNKNOWN_SYMBOL

Symbol used is not recognised by the terminal.

💡
Recommendation
  • Ensure symbol indicated is exactly as per your symbol list (case-sensitive)
    • If the symbol indicates “EURUSD”, sending in “eurusd” may result in the error

4109

ERR_TRADE_NOT_ALLOWED

Trade is not allowed.

💡
Recommendations
  • Open Options (CTRL+O) → click on “Expert Advisors" then ensure Allow automated trading
  • Open PineConnector EA (F7), click "common", and Allow Live Trading

After those 2 steps, there should be a smiley face on the top right corner of your chart

4202

ERR_OBJECT_DOES_NOT_EXIST

Object does not exist.

💡
Recommendations
  • Report Error to support along with your License ID, Signal ID, and Experts Log for the trade

Zero divide

0 was returned by the terminal for one of the computations.

💡
Recommendation
  • Report bug to PineConnector support with
    • PineConnector EA version
    • Numbers in the bracket (xxx,xx)

MetaTrader 5

4752

ERR_TRADE_DISABLED

Trading by Expert Advisors is prohibited.

💡
Recommendation
  • Allow trading in the EA properties

4756

ERR_TRADE_SEND_FAILED

Trade request sending has failed.

💡
Recommendations
  • Check the Journal tab for the exact Error 4756 type
    1. Unsupported Filling Mode
      1. Use broker set B in the EA
      2. image
    2. No Prices
      1. Symbol not enabled in symbol list. Symbol will be automatically enabled after a “no prices” error
    3. Invalid Request
      1. Ensure symbol used matches exactly to your symbol list (case-sensitive)
    4. Trade Disabled
      1. Ensure symbol used matches exactly to your symbol list (case-sensitive)
    5. Invalid Expiration
      1. Use broker set C in the EA
    6. Invalid Price
      1. Your price indicated for either your stop-loss (sl=) and take profit (tp=) may be too close to the entry price invalid, such as SL being larger than your TP or entry price for buy trades
      2. Your pending order entry price (price=) may be too close to the current market price
      3. We recommend that you use pips targets and pips-based pending entry price, and ensure the values used are not too small

Zero divide

0 was returned by the terminal for one of the computations.

💡
Recommendations
  • Report bug to PineConnector support with
    • PineConnector EA version
    • Numbers in the bracket (xxx,xx)