EA builder resources
Practical MT4/MT5 guides for builders who want cleaner EAs.
A focused content library for MQL compiler errors, EA generation specs, debugging, prop-style risk controls, and backtest readiness. 32 guides across five clusters link back to the Workfusion console so visitors can move from learning to testing.
Guides
32
Clusters
5
Intent
High
Paste compiler errors / Generate EA draft / Get risk check
Short opt-in only. We store one source, one intent, and one new lead status. No scraped lists, no purchased contacts, no trading promises.
Choose the workflow you want, then opt in so the CRM source is measurable.
Compiler Fixes
Compiler Fixes guides
Built for search intent, support reuse, and conversion into the EA console.
mql5 compiler fixer
Fix undeclared identifier in an MQL5 EA
A practical checklist for fixing undeclared identifier errors in MT5 Expert Advisor code before compiling again.
Read guide
mql5 compiler fixer
Fix invalid stops in an MT5 EA
How to diagnose invalid stop-loss and take-profit errors in MT5 Expert Advisors before live or tester execution.
Read guide
mql5 compiler fixer
MQL5 CTrade include and trade object setup
Set up the MQL5 CTrade object correctly so Buy, Sell, PositionClose, and result checks compile cleanly.
Read guide
mql5 compiler fixer
Fix MQL5 CopyBuffer and indicator handles
Fix MT5 EA errors caused by using MQL4-style direct indicator calls instead of MQL5 handles and CopyBuffer.
Read guide
mql5 compiler fixer
Fix MQL5 history and deal functions
Fix MT5 EA errors around HistoryDeals.mqh, HistoryDealGetTicket, deal properties, magic numbers, and closed-trade PnL.
Read guide
mql5 compiler fixer
Fix MQL5 invalid volume and lot step errors
Fix MT5 retcode 10014 invalid volume errors caused by 0.00 lots, min/max lot limits, lot step mismatch, or unsafe sizing.
Read guide
mql5 compiler fixer
Fix MQL5 unsupported filling mode
Fix MT5 retcode 10030 invalid fill errors by selecting an order filling policy supported by the current symbol.
Read guide
mql5 compiler fixer
Fix MQL5 array out of range after CopyBuffer
Fix MT5 runtime array out of range errors caused by reading indicator buffers before enough data was copied.
Read guide
mt5 ea generator
MQL5 OnInit and OnTick EA skeleton
A clean MT5 Expert Advisor skeleton structure for OnInit, OnTick, risk gates, signal checks, and execution.
Read guide
mql5 code review
MT5 EA compiles but does not trade
A structured diagnostic checklist for MT5 Expert Advisors that compile but produce no trades.
Read guide
EA Generation
EA Generation guides
Built for search intent, support reuse, and conversion into the EA console.
mt5 ea generator
Turn a strategy idea into an MT5 EA spec
Convert a trading idea into a clear MT5 Expert Advisor specification before generating code.
Read guide
mt5 ea generator
Moving average crossover EA with risk guards
A practical structure for building a moving average crossover EA with spread, session, stop, and sizing controls.
Read guide
mt5 ea generator
Breakout EA with MT5 session filters
Design a breakout Expert Advisor with session filters, spread guards, and controlled entry frequency.
Read guide
mt5 ea generator
EA input parameters checklist
The core input settings every serious MT4/MT5 Expert Advisor draft should expose before testing.
Read guide
mt5 ea generator
Prepare an EA for Strategy Tester
A practical checklist before running an MT5 Strategy Tester backtest on a new Expert Advisor draft.
Read guide
MT4 Debugging
MT4 Debugging guides
Built for search intent, support reuse, and conversion into the EA console.
mt4 ea debugger
Fix OrderSend error 130 in MQL4
Diagnose invalid stops, stop level, digits, and price normalization issues behind MQL4 OrderSend error 130.
Read guide
mt4 ea debugger
MQL4 to MQL5 migration checklist
A practical checklist for moving Expert Advisor logic from MT4 to MT5 without breaking order handling.
Read guide
mt4 ea debugger
MT4 EA magic number and order management
Use magic numbers, symbol filters, and order loops correctly in MQL4 Expert Advisors.
Read guide
mt4 ea debugger
MQL4 compile errors cheat sheet
A quick guide to common MQL4 compile errors and the structural fixes to try first.
Read guide
mt4 ea debugger
Debug an EA that opens too many trades
Find duplicate-entry, missing cooldown, magic number, and signal-state issues in an EA that overtrades.
Read guide
Prop Firm Risk
Prop Firm Risk guides
Built for search intent, support reuse, and conversion into the EA console.
prop firm ea risk checker
Daily drawdown guard for an EA
Design a daily loss guard for an Expert Advisor so trading stops when the account approaches the daily risk limit.
Read guide
prop firm ea risk checker
Spread filter for prop firm EAs
Use spread filters to prevent an EA from entering during poor execution conditions without killing all trade frequency.
Read guide
prop firm ea risk checker
Max open trades and cooldown for EAs
Use max-trade and cooldown controls to prevent duplicate entries and runaway exposure in Expert Advisors.
Read guide
prop firm ea risk checker
Fixed-risk lot sizing for an MQL5 EA
Calculate EA position size from risk percent and stop distance instead of hard-coded lots.
Read guide
prop firm ea risk checker
Prop firm EA readiness checklist
A practical readiness checklist before using an EA around prop-firm style rules and drawdown limits.
Read guide
Code Review
Code Review guides
Built for search intent, support reuse, and conversion into the EA console.
mql5 code review
Expert Advisor audit trail checklist
What to log in an Expert Advisor so trade decisions, blocked entries, and risk controls are reviewable later.
Read guide
mql5 code review
Expert Advisor state machine design
Design EA state around waiting, signal, risk-approved, order-sent, position-open, and cooldown phases.
Read guide
mql5 code review
MQL5 logging and diagnostics for EAs
Add useful MQL5 logs that explain EA decisions without flooding the MetaTrader journal.
Read guide
mql5 code review
MT5 EA backtest failure triage
Classify MT5 backtest failures by compile, data, permission, frequency, execution, risk, or strategy issues.
Read guide
mql5 code review
Avoid overfitting MT5 EA backtests
A practical checklist for detecting overfit EA results, weak trade samples, live/tester mismatch, and missing walk-forward evidence.
Read guide
mql5 code review
Expert Advisor project handoff checklist
Package EA code, set files, reports, assumptions, and risk notes so another developer can review or continue the project.
Read guide
mql5 code review
MQL5 code review before backtesting
Review lifecycle, execution, risk, inputs, and logs before spending time on MT5 Strategy Tester runs.
Read guide