MT5 error 10019: Not enough money to complete the request
MT5 reports trade return code 10019, “Not enough money to complete the request”. The account does not have enough free margin for the size you sent.
Symptom
Section titled “Symptom”The command shows Failed in Command History, and hovering it shows “Not enough money to complete the request”.
Causes, most likely first
Section titled “Causes, most likely first”- The
volumeis too large for the free margin of the account. - Open positions already use most of the margin.
- The number sent as
volumeis not in lots, so the size is far larger than you meant.
- Send a smaller
volume. - Close positions you no longer need to free margin, or add funds to the account (on a demo account, reset or top up the balance with your broker).
- Check that the value is lots, and not a TradingView value in contracts or units.
Confirm it is fixed
Section titled “Confirm it is fixed”Send the command again with a smaller size on a demo account. It is not marked Failed.
Still stuck?
Section titled “Still stuck?”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).
Related
Section titled “Related”Verified for EA v1.9 · dashboard 2026-10-05 · reviewed by Claude Code (owner review pending)
Trading involves substantial risk of loss. ZB Connector is software only; it does not provide investment advice, signals or brokerage services.