Skip to content

MT5 error 10016: Invalid stops in the request

View as Markdown

MT5 reports trade return code 10016, “Invalid stops in the request”. The broker refused the stop loss or take profit in your command.

A long, short or moveStops command shows Failed in Command History, and hovering it shows “Invalid stops in the request”. The Experts log has no “Trade placed successfully” line for it.

  1. The stop loss or take profit is on the wrong side of the price. For a buy, the stop loss goes below the price and the take profit above it; for a sell it is the other way round.
  2. The stop is closer to the current price than the broker allows for this symbol.
  3. The EA input Stop level mode is set to pips or ticks, so sl and tp were read as distances from the price instead of price levels. A price such as 1.0800 then means a distance of 1.08 pips.
  4. The values were typed in the wrong unit, for example a distance sent to moveStops, which always reads price levels.
  1. Compare sl and tp with the current price and the direction of the trade.
  2. Look up the symbol’s minimum stop distance in its specification in MT5 and keep your stops further away.
  3. Check the Stop level mode input. With price (the default), send price levels; with pips or ticks, send distances.
  4. For moveStops, always send price levels.

Send the corrected command on a demo account. The Experts log shows “Trade placed successfully” (or “SL/TP updated”) and the row in Command History is not marked Failed.

With these items we can find the failing step quickly. Collect them before you write.

  • The number of the first checkpoint that failed and the time of the alert, with your time zone.
  • The row from TradingView's alert log, including the Webhook status column.
  • The row from Command History (License Details page): status, time, and the reason shown when you hover Failed.
  • The last lines of the MT5 Experts log around that time.
  • Your alert message as TradingView sends it.

Always remove: your license key (write YOUR_LICENSE_KEY), passwords, and any screenshot where the EA panel shows the key.

Write to support with this checklist filled in(contact@zb-connector.com).

Verified for EA v1.9 · dashboard 2026-10-05 · reviewed by Claude Code (owner review pending)

Report a problem with this page

Trading involves substantial risk of loss. ZB Connector is software only; it does not provide investment advice, signals or brokerage services.