The real path: TradingView alert → connector → MT5 EA → trade

In practice, the automation chain looks like this:

  • Your strategy triggers in TradingView,
  • TradingView sends a webhook alert,
  • A connector (for example, AlgoWay) receives and routes the signal,
  • An Expert Advisor (EA) inside MetaTrader 5 receives the command,
  • The EA attempts to place an order, modify a position, or close a trade.

Everything may look perfect until the very last step. The signal arrives, the EA runs, and then MT5 rejects the trade request with one message: Error 4752.

What Error 4752 means in MetaTrader 5

Error 4752 corresponds to ERR_TRADE_DISABLED. In simple terms, it means one thing:

“Trading by Expert Advisors is disabled.”

This is not a problem with TradingView, not a webhook transport issue, and not a connector outage. It is a restriction inside your MT5 terminal that blocks automated trading. Manual trading can still work, which is why many people get confused.

Why it appears when you automate TradingView alerts

When you trade manually, MT5 lets you click Buy/Sell and place orders as long as the broker account is active. But when a TradingView alert triggers automation, the final action is performed by an EA, and MT5 has an additional layer of permissions for algo trading.

That is why the “pipeline” often looks like this:

  1. TradingView alert sent ✅
  2. Connector received it ✅
  3. EA received the signal ✅
  4. Order request rejected ❌ → Error 4752

Main reasons behind Error 4752

Error 4752 almost always comes from one of these configuration points:

  • Algo Trading / AutoTrading is OFF on the MT5 toolbar (global switch),
  • Algo trading is disabled in MT5 settings (Tools → Options → Expert Advisors),
  • The EA itself is not allowed to trade on that specific chart (EA Properties: “Allow Algo Trading / Allow live trading” unchecked),
  • Less common: MT5 auto-disables algo trading because “Disable Algo Trading when…” options are enabled.

Fix #1: Enable Algo Trading (the global toolbar button)

  1. In MT5, look at the top toolbar and find Algo Trading (older builds may show AutoTrading).
  2. Make sure it is enabled. If it is disabled/grey, click it once to turn it on.

Tip: on the chart, MT5 often shows an icon in the top-right corner (face/hat). If it appears “sad” or inactive, it usually means algo trading is blocked globally or for the EA.

Fix #2: Allow Algo Trading in MT5 Options

This is the second place that commonly blocks execution.

  1. Open Tools → Options.
  2. Go to the Expert Advisors tab.
  3. Enable Allow Algo Trading (or “Allow automated trading”).
  4. Below, locate “Disable Algo Trading when…” options and uncheck anything that can unexpectedly disable automation (account/profile/symbol changes).
  5. Click OK.

After this, run a test alert again and watch the logs.

Fix #3: Allow trading for the specific EA on the chart

This is the most common trap: the terminal is enabled globally, but the EA is blocked on that chart.

  1. Open the chart where your connector EA is attached.
  2. Press F7 (or right-click the chart → Expert Advisors → Properties).
  3. In the Common tab, enable:
    • Allow Algo Trading / Allow live trading (mandatory),
    • Allow DLL imports only if your EA requires it,
    • Any other permissions that your specific EA documentation requires.
  4. Click OK.

Where to confirm the error and what to capture

When 4752 happens, do not guess. MT5 shows the evidence in logs.

  1. Open the bottom panel in MT5 and check Journal and Experts.
  2. Search for lines that include:
    • 4752
    • Trading by Expert Advisors prohibited
    • AutoTrading disabled by client terminal
  3. Write down:
    • the exact timestamp of the error,
    • the symbol and timeframe of the chart where the EA runs,
    • whether Algo Trading/AutoTrading was enabled at that moment.

If you send these three details to connector support, they can immediately confirm whether the signal reached MT5 and the terminal blocked execution.

30-second checklist when you need an immediate fix

  1. Toolbar: Algo Trading/AutoTrading is ON.
  2. Tools → Options → Expert Advisors: Allow Algo Trading is ON.
  3. On the chart: F7 → Common: Allow Algo Trading/Live trading is ON.
  4. Journal/Experts: no more “trading prohibited” messages.

If all four items are correct, Error 4752 almost always disappears because its nature is exactly “EA trading is disabled,” not an alert transport problem.

Conclusion

The connection between TradingView alerts and Error 4752 is not that TradingView fails. Alerts simply trigger an automated trading path, and MT5 can block that path if algo trading is disabled.

Error 4752 is MT5 saying: “I will not allow Expert Advisors to trade.” The fix is almost always in three places: the global Algo Trading button, Tools → Options → Expert Advisors, and the EA properties on the chart (F7).

Need help debugging 4752?

If you can share a screenshot of your MT5 Journal/Experts line showing 4752, we can pinpoint exactly which permission is blocking execution.