AlgowayMT5 β User Guide for MetaTrader 5 Error 4756
Error 4756 in MT5 means your order was rejected before reaching the market. The EA attempted to send a trade, but MT5 refused it due to order parameters or trading permissions.
π Common Causes
- Stop Loss / Take Profit too close to the current price
- Wrong execution mode for your broker
- Lot size not valid
- Symbol name not matching brokerβs
- Market closed or trading not enabled
βοΈ Prepare Your MT5 for Trading
- Check all three Algo Trading switches in MT5:
- Global Algo Trading button β must be green.
- Terminal settings: Tools β Options β Expert Advisors
- β
Allow algorithmic trading
- β
Allow WebRequest for
https://algoway.co
- EA settings on the chart (F7 β Common tab) β β
Allow Algo Trading
- Ensure the symbol matches the brokerβs exact name (including suffixes like
.a, .pro).
- Market must be open, prices moving, spread reasonable, and enough free margin available.
π Quick Fixes for Common 4756 Causes
- Stop Loss / Take Profit too close β Try without SL/TP, then modify later. Or set them 2β3Γ further away.
- Points vs Pips confusion β In v1.65, SL/TP are in points. On a 5-digit symbol, 1 pip = 10 points.
- Use
sl_price / tp_price for exact prices
- Or multiply pip values by 10
- Wrong execution mode β Change Order Filling Type: AUTO β IOC β FOK.
- Lot size not valid β Start with smallest allowed lot (e.g., 0.01) and adjust to valid step.
- High spread / slippage β Avoid low-liquidity hours or news releases. Test with market order without SL/TP.
π§ Step-by-Step Diagnostic Path
- Test without SL/TP β if works, issue is stop distance.
- Check symbol name β match exactly in Market Watch.
- Try smallest lot β if works, adjust to nearest allowed.
- Switch execution mode β try IOC/FOK.
- Retry in calm market conditions.
π Templates for Safe Signals
Market Buy with fixed prices:
{
"order_action": "buy",
"order_contracts": "0.10",
"ticker": "EURUSD.a",
"sl_price": "1.08400",
"tp_price": "1.09000"
}
Market Sell with pip distance (5-digit symbol):
{
"order_action": "sell",
"order_contracts": "0.10",
"ticker": "EURUSD.a",
"stop_loss": "200", // 20 pips = 200 points
"take_profit": "300" // 30 pips = 300 points
}
β
Quick Summary Checklist
- All 3 Algo Trading switches ON
- Symbol matches brokerβs exactly
- Lot size valid
- SL/TP far enough or set later
- Execution mode tried in FOK & IOC
- Market open, spread normal
If after all checks 4756 still occurs β provide support with:
- Screenshot of Experts tab showing the error
- Your signal JSON (SL/TP values)
- Symbol name and lot used