Troubleshooting
Common fixes and error codes for issues with accounts, webhooks, and trade execution.
| Issue | Symptom | Fix |
|---|
| Account shows offline | Card shows grey 'Offline' even though MT5 is open. | Confirm 'Allow algorithmic trading' is enabled in MT5 (Tools → Options → Expert Advisors), the EA smiley face is visible on the chart, and the Auto Trading toggle on the account card is ON. The dashboard marks accounts offline after 10s without a heartbeat. |
| Trade not executing | Webhook fires but nothing happens in MT5. | Check (1) the dashboard ID in the payload matches your active dashboard, (2) the account is inside an active Trading Window, (3) auto-trading is enabled on the account card, and (4) the symbol exists in your broker's Market Watch under that exact name (e.g. XAUUSD vs GOLD). |
| Trade timed out | Trade row shows 'Trade timed out (not completed within 5 seconds)'. | The EA didn't claim or confirm the signal in 5s. Most often: EA was disconnected, MT5 was minimised on a slow VPS, or the symbol was not in Market Watch. Re-attach the EA and retry. |
| Lot size too small / too large | Position size doesn't match expectations. | Lot size = (Balance × Risk%) / monetary loss per lot at SL. Verify the account's Risk% on the card and that the SL distance in your signal is correct. Webhook trades can include risk= to override per-trade; manual trades use the account card's Risk%. |
| Dashboard ID mismatch | Webhook returns 'Dashboard not found' or the wrong account fires. | Each user has one active dashboard ID. Open the Trading page or Setup checklist, copy the current dashboard ID, and paste it into your TradingView alert payload exactly. |
| Code | Meaning | Fix |
|---|
| ERR_NO_MONEY (134) | Not enough free margin to open the position. | Lower Risk% on the account card, close other positions, or top up the account. |
| ERR_INVALID_STOPS (130) | SL or TP is too close to current price (inside the broker's stop level). | Increase SL/TP distance in your signal. Check Symbol → Specification → Stops Level in MT5. |
| ERR_TRADE_DISABLED (133) | Trading is disabled for this symbol or account. | Verify the symbol is open for trading at the broker, the account isn't read-only, and the market is not closed. |
| ERR_MARKET_CLOSED (132) | Symbol's market session is closed. | Wait until the market re-opens, or check broker session hours for that instrument. |
| ERR_REQUOTE (138) | Price moved before the order could be filled at the requested price. | Usually self-resolves on retry. If persistent, increase deviation/slippage tolerance at the broker. |
| ERR_OFF_QUOTES (136) | Broker has no live quotes for the symbol right now. | Check the symbol is in Market Watch and your broker connection is healthy. |
| ERR_INVALID_VOLUME (131) | Calculated lot size is below the broker's minimum or above the maximum lot. | Increase Risk% (for very small accounts) or reduce it (for very large lots). Confirm lot step in symbol spec. |
| Trade timed out (5s) | Signal sat in 'pending' or 'processing' for over 5 seconds without confirmation. | EA likely lost connection. Restart the EA on the chart and confirm 'STATUS: ONLINE' is shown. |
| Dashboard not found | The dashboard ID in the payload doesn't match any user's active config. | Recopy your dashboard ID from the Trading page and paste it into your TradingView alert exactly. |
| Account not found | The EA polled with an account number that isn't registered against your dashboard. | Add the MT5 account in the dashboard's Accounts list before attaching the EA, or re-link the existing card. |
| Outside Trading Window | Signal arrived but the account's active windows do not cover the current time. | Open Trading Windows for the account and add or extend a window to include the signal time. |