Fix MT4/MT5 ‘Order Not Executed’ Error

21 Nov. 2025
 

Fix MT4/MT5 ‘Order Not Executed’ Error

If you're trying to automate your trades from TradingView to MT4 or MT5 using MetaConnector and suddenly encounter an "order was not executed" error, you're not alone. This is one of the most common problems that traders face when they automate TradingView alerts. But the good news is that this problem is easy to fix once you understand what's causing it.

In this guide, you will learn the exact reasons behind the “Order not executed” issue and how to solve it step-by-step using MetaConnector, the most reliable bridge from TradingView to MT4/MT5 automation.

why does the error occur

TradingView does not execute trades directly on MT4 or MT5. That's why traders use automation tools like MetaConnector, which converts TradingView alerts into real trades.

If your trades are not executing, the problem is usually related to:

  • Incorrect webhook setup
  • Incorrect MT4/MT5 login
  • Invalid order parameter
  • market conditions
  • Slippage or volume errors
  • Metaconnector configuration issues


Contact Us for Inquiries

Register for call back

Now let's fix it step by step.

1. Check your TradingView and MetaConnector connection

Verify your webhook URL

The first thing you should check is whether the Metaconnector webhook URL is correctly pasted into your Trading View alert settings.

Even one extra space or character can prevent trades from being executed.

Check MT4/MT5 login details

Make sure you are logged in with:

  • Correct account number
  • Main trading password (not investor password)
  • Right broker server

MetaConnector cannot place any trades if MT4/MT5 is not connected properly.

Stable Internet or VPS

Automation requires a stable connection. If your internet is slow or disconnecting:

  • Use a Vps
  • Keep MT4/MT5 and MetaConnector running 24/7

This reduces missed trades and failed orders.

Disable Firewall Block

Sometimes Windows Firewall or Antivirus prevents Trading View Alerts from reaching MetaConnector.

Turn them off temporarily to check if they are causing the problem.

Enable Algo Trading in MT4/MT5

MT4/MT5 → Tools → Options → Open Expert Advisor

Enable:

  • Allow algorithmic trading
  • Allow DLL import

Also, make sure the Algo Trading button is green.

2. Fix order parameter in Metaconnector

Even if the connection is correct, orders may still fail due to incorrect trade settings.

Check sufficient funds

If you do not have enough margin in your account, MT4/MT5 will reject the order.

Reduce the lot size or add more funds from MetaConnector.

Match symbol names exactly

The Trading View symbol must match the MT4/MT5 broker symbol. Example:

  • Trading View: EURUSD
  • MT5 Broker: EURUSD.pro or EURUSD.a

If the names do not match, MetaConnector cannot open the trade.

Valid Lot Size

Every broker has rules such as:

  • Minimum lot: 0.01
  • Step Lot: 0.01
  • Maximum Lot: Varies

Set the correct volume in the metaconnector to avoid "Invalid Volume" (error 131).

Check market timings

If you try to trade indices, commodities or cryptos during closed hours, the trade will fail.

Make sure the market is open.

Order type accuracy

For limit or stop orders:

  • Buy stop must be above the current price
  • sell stop should be below
  • purchase limit should be below
  • sales limit must be above

If your price level is invalid, MT4/MT5 rejects the order immediately.

3. Read the logs for exact errors

Metaconnector logs + MT4/MT5 journals tell you the real reason.

TradingView Alert Log

Shows whether the alert was actually triggered.

MT4/MT5 Journal or Expert Tab

Shows exact errors like:

  • Error 131 – Invalid lot size
  • Error 136 – Quote closed
  • Business disabled
  • Market closed

This helps you fix the exact problem faster.

4.Update & Contact Support

Update MetaConnector

Using outdated versions could lead to problems during execution. Always keep the latest version.

Broker Support

If your trades continue to be unsuccessful, it might be due to some restrictions on symbols or permissions set by your broker.

MetaConnector Support

They will be able to check your logs and provide you with step-by-step guidance.

Check out the pricing details

Price

Conclusion

The “Order Not Executed” problem from TradingView to MT4/MT5 can be easily fixed taking into consideration the connection, order parameters and MetaConnector configuration.

With MetaConnector you get smooth, fast and accurate automated trading—thus making your TradingView strategies even stronger.

Read Also: