Self-Debugger

Here are some common issues faced by your other retail trader buddies. 
For MetaTrader Error Codes (130, 4756 etc), please scroll down for more information.

General

Issue Remarks Potential Causes and Remedies
Trades not triggering

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 on the right, and ensure correct syntax and setup.

1. 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.


2. Spacing in syntax
Ensure that there are NO spacing between your texts and commas.

Invalid: 5123456789012 , buy , EURUSD , risk=1
Valid: 5123456789012,buy,EURUSD,risk=1


3. 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


4. 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


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/


6. 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 – log 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).

EA is inconsistent

Inconsistent EA possiblities (non-exhaustive):

  • Occasional Close on Reverse
  • Occasional differing target types
  • Occasional differing volume types

If you face this issue, it is likely due to multiple PineConnector EAs running at the same time.

Please ensure that you only have ONE Pineconnector EA attached to any symbol on any timeframe – it is to facilitate connection between your terminal and our server. One PineConnector EA is sufficient to execute commands on ALL symbols.

To check, you may press ALT+R to view all open charts on your MetaTrader. Look for the top corners of each chart to indentify whether a PineConnector EA is attached. You should only have one chart with our EA running.

Having multiple PineConnector EA does not improve performance, and may result in inconsistency especially when the EAs have different settings.

MetaTrader 4

 Error Value Description Remarks
ERR_INVALID_STOPS
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.

  • 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.
ERR_INVALID_TRADE_VOLUME
131 Invalid trade volume Ensure minimum and incremental volume supported by broker. See symbol information (CTRL+U)
ERR_MARKET_CLOSED
132 Market is closed TGIF, no more trading!
ERR_TRADE_DISABLED
133 Trade is 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)

ERR_UNKNOWN_SYMBOL
4016 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".
ERR_DLL_CALLS_NOT_ALLOWED
4017 DLL calls are not allowed Allow DLL calls in your EA and options.
ERR_TRADE_NOT_ALLOWED
4109 Trade is not allowed

Allow automated trading.

Please check the following:

    1. Open Options (CTRL+O), click on "Expert Advisors" then ensure ✔ Allow automated trading
    2. 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. :-)

Array not in range Varied -

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.

 

MetaTrader 5

 Error Value Description
Remarks
ERR_TRADE_DISABLED
4752
Trading by Expert Advisors prohibited
Allow trading in the EA properties.
ERR_TRADE_SEND_FAILED
4756
Trade request sending 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
          Array not in range Varied -

          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.