Advertisement
MT4/MQL4 Technical Notes

MT4 and MQL4 technical notes for EA development, error fixes, backtesting, and custom indicators.
MQL4 Order Functions
- MQL4 OrderSend, OrderModify and OrderClose Functions
Learn how to structure reusable MQL4 order functions for MT4 EAs, including OrderSend, OrderModify, OrderClose, retry handling, spread checks, and error debugging.
MQL4 Error Fixes
- OrderSend Error 129 in MT4/MQL4: Invalid Price Fix
Learn why Error 129 occurs in MT4 and how to fix invalid price errors by checking Bid, Ask, RefreshRates, NormalizeDouble, and pending order prices.
- OrderSend Error 130 in MT4/MQL4: Invalid Stops Fix
Learn why Error 130 occurs in MT4 and how to fix invalid stops by checking StopLevel, stop loss, take profit, pending orders, and broker rules.
- OrderSend Error 131 in MT4/MQL4: Invalid Trade Volume Fix
Learn why Error 131 occurs in MT4 and how to check lot size, minimum lot, lot step, maximum lot, and broker settings.
- OrderSend Error 134 in MT4/MQL4: Not Enough Money Fix
Learn why Error 134 occurs in MT4 and how to fix not enough money errors by checking free margin, lot size, leverage, margin requirements, and account balance.
MT4 Backtesting Tools
- MT4 Backtest Not Working: Strategy Tester Causes and Fixes
Fix common MT4 Strategy Tester problems, including no trades, wrong settings, missing historical data, optimization issues, and EA conditions that never trigger.
- How to Import Dukascopy Historical Data into MT4
Learn how to prepare Dukascopy historical data for MT4 EA backtesting, including data import, timeframe preparation, time zone differences, and common mistakes.
- Quant Analyzer Tutorial: How to Analyze MT4 Backtest Reports
Learn how to use Quant Analyzer to analyze MT4 backtest reports, review hourly and monthly performance, sort trades, and find weaknesses in your EA.
