Skip to content

Error Guide

Please refer to the updated Error Guide here:
https://docs.pineconnector.com/error



Here are some common issues faced by your other retail trader buddies. 

For MetaTrader Error Codes (130, 4756 etc), please click below to see more information.


If you see the expiration date on your MetaTrader terminal, but are not receiving signals,
the issue is likely on your TradingView's setup

Please go through the list of potential causes and ensure that your alerts are configured correctly.

Potential Causes
Remarks & Remedies
Incorrect License ID
In your Syntax, ensure your License ID indicated in your alert message matches your License ID that you input in your MetaTrader terminal
Incorrect Syntax Formatting
Spacing between your texts and commas

Invalid: 5123456789012 , buy , EURUSD , risk=1
Valid: 5123456789012,buy,EURUSD,risk=1
Incorrect Syntax Formatting
Multiple License IDs

Invalid: 512345,6789012,buy,EURUSD,risk=1
Valid: 512345,buy,EURUSD,risk=1
Invalid Syntax Command
Ensure commands used are as per the Syntax Guide

Invalid: 5123456789012,long,EURUSD
Valid: 5123456789012,buy,EURUSD,risk=1
Misspelling in Syntax
Ensure that parameters are all typed out correctly

Invalid: 5123456789012,buy,EURUSD,rsik=1,trialdist=20
Valid: 5123456789012,buy,EURUSD,risk=1,traildist=20
Accidental Inclusions in Syntax
Ensure that there are no accidental letters or symbols in your syntax

Invalid: 5123456789012,buy,EURUSD,risk=1,sl=5}
Valid: 5123456789012,buy,EURUSD,risk=1,sl=5
Incorrect Webhook Address
Ensure that you are linking the alerts to the appropriate webhook address

Invalid: http://pineconnector.net/webhook/
Valid: https://pineconnector.net/webhook/
Incorrect Alerts Setup
If you see an arrow on your TV chart without an accompanying alert in the alerts log, it means your alert trigger might be incorrectly configured.

Please check your Alerts Log on your TradingView terminal.
The alerts log is a list of all fired alerts.

Important: The comparison should be between your TradingView's alerts log and your MetaTrader's Experts Tab (and not your chart).

Value
Description
Errors & Remarks
130
Invalid Stops
ERR_INVALID_STOPS

You might have sent 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.

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

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

If you are sending pending orders, please ensure that your entry price is not too close. Since there is a small mismatch in prices when comparing TV and MT4 quotes, we recommend that you use "price=" based on pips.
131
Invalid Trade Volume
ERR_INVALID_TRADE_VOLUME

Ensure minimum and incremental volume supported by broker.
See symbol information (CTRL+U)
132
Market is Closed
ERR_MARKET_CLOSED

TGIF, no more trading!
133
Trade is Disabled
ERR_TRADE_DISABLED

Symbol restricted by broker.

Ensure that Live Trading is Allowed, and that the Symbol used is exactly as per your Symbol List (CTRL+U)
134
Trade is Disabled
ERR_NOT_ENOUGH_MONEY

You are probably trying to open a position too large whereby you have insufficient free margin.

Please use a smaller “risk=“ value or use the appropriate Volume Type.
4017
DLL calls are not allowed
ERR_DLL_CALLS_NOT_ALLOWED

Allow DLL calls in your EA and options.
4051
Invalid Function Parameter Value
ERR_INVALID_FUNCTION_PARAMETER_VALUE

Please ensure that you have a "risk=" in your syntax.

Kindly note the the "risk=" parameter is required for entry commands (buy, sell, buystop, sellstop, buylimit, selllimit)
4106
Unknown Symbol
ERR_UNKNOWN_SYMBOL

Please ensure that you are using the exact symbol as per your Symbol List (CTRL+U on your MT4).

Please note that the symbol is case sensitive.
I.e. if your symbol list indicates EURUSD, you have to indicate "EURUSD" and not "eurusd".
4109
Trade is not allowed
ERR_TRADE_NOT_ALLOWED

Allow automated trading.

Please check the following:
○ Open Options (CTRL+O), click on "Expert Advisors" then ensure Allow automated trading
○ Open PineConnector EA (F7), click "common", and Allow Live Trading

After checking (1) and (2), the face at the top right corner of your chart should be smiling. :-)
Varied
Array not in range
Please contact support through our email or LiveChat including the PineConnector EA version and the 2 numbers in the brackets (xx,xx) that came with the Error.

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


Value
Description
Errors & Remarks
4752
Trading by Expert Advisors prohibited
Allow trading in the EA properties.
4756
Trade request
sending failed
ERR_TRADE_SEND_FAILED

On your MT5 Terminal, please go to the "Journal" tab at the bottom and look for the Error.

It should indicate "Unsupported Filling Mode", "No Prices" or "Invalid Request".

1. Unsupported filling mode



Please ensure you are using the latest MT5 EA available. In the EA Settings (F7 on your MetaTrader terminal), under "Broker Set", select "Broker Set B".



2. No prices
Symbol not highlighed in yellow in symbol list. Next alert onwards for the symbol should go through.

3. Invalid request
Please ensure that the symbol you used in your TradingView message matches exactly your Symbol List (CTRL+U on your MetaTrader 5).

There might be a character before or after the symbol such as "$", "#", "S", etc

4. Trade Disabled
Please ensure that the symbol you used in your TradingView message matches exactly your Symbol List (CTRL+U on your MetaTrader 5).

There might be a character before or after the symbol such as "$", "#", "S", etc

5. Invalid Expiration
If you face Error 4756 "invalid expiration", please use Broker Set C in the EA Settings.

 

Varied
Array not in range
Please contact support through our email or LiveChat including the PineConnector EA version and the 2 numbers in the brackets (xx,xx) that came with the Error.

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