Manual Strategy to MT5 EA — No Code
Quick Answer: Convert Manual Strategy to EA
Quick answer: Write your manual rules on one page (entry, exit, filters, risk, timeframe). In AlfaTactix Strategy Builder, map entry/exit to Step 3 — Signals, when not to trade to Step 4 — Filters, and lot/SL to Step 5 — Risk → Save → export MQL5 from Code Generator → compile once in MetaEditor → backtest in Strategy Tester. You do not need to hire a freelancer if the logic is rule-based.
Disclosure: This is a DIY conversion guide — not a “send us your strategy” service. For hand-written MQL5 of the same ideas, see Build Your First EA.
Related guides: Build EA Without Coding · Create/Edit MT5 EA · RSI EA No Code · News Filter No Code
Why Manual Traders Stall at Automation
Most manual strategies fail conversion for three reasons — not because MT5 is impossible:
| Blocker | Manual habit | What the EA needs |
|---|---|---|
| Vague entries | “Strong rejection at support” | Indicator level + confirmation bars |
| Missing exits | “I feel it” / manual close | Opposite signal, SL/TP, or time exit |
| Hidden filters | “I skip news” | Explicit filter on Step 4 |
MetaTrader runs OnTick() on rules, not intuition. The worksheet below forces clarity before you touch software.
The One-Page Rule Worksheet
Copy this table and fill every row for one strategy you trade today:
| Row | Your answer (example) |
|---|---|
| Market | EURUSD spot |
| Chart timeframe | H1 (decision chart) |
| Direction | Long and short, or long-only |
| Entry — long | RSI(14) crosses up through 30 from below |
| Entry — short | RSI crosses down through 70 from above |
| Exit — long | Opposite RSI cross at 70, or SL hit |
| Exit — short | Opposite RSI cross at 30, or SL hit |
| Filters | No trades 30 min before/after high-impact USD news; London–NY session only |
| Risk | 0.5% equity per trade; SL 25 pips; max 2 open trades |
| Invalidation | Skip if spread > 30 points |
If any cell is empty, your manual edge may not be reproducible yet. Narrow the strategy until every cell has a number or indicator name.
Map Your Rules to Strategy Builder
| Worksheet row | Strategy Builder step | UI area |
|---|---|---|
| Market / name | Step 1 — Strategy information | Name, description |
| Timeframe(s) | Step 2 — Timeframes | Enable H1 (or multi-TF) |
| Entry / exit | Step 3 — Signals | Buy/Sell tabs, indicators, conditions |
| Filters | Step 4 — Filters | Session, spread, Economic Calendar — news filter guide |
| Risk | Step 5 — Risk management | Lot, SL/TP, trailing, account guards |
| Review | Step 6 — Preview & Save | Validate → Save |
Key idea: You are not “learning MQL5” first — you are translating a table into the same six steps shown in Build EA Without Coding.
Example: Manual RSI Bounce to EA
Manual story: “On H1 EURUSD, I buy when RSI dips below 30 and turns up; I sell the mirror at 70. I avoid Asian session and big news.”
Automated mapping:
| Manual rule | Builder implementation |
|---|---|
| H1 chart | Step 2: timeframe H1 |
| RSI 30 bounce | Step 3 Buy: RSI Length 14, condition Cross Target Oversold Direction Up Value 30 |
| RSI 70 fade | Step 3 Sell: Cross Target Overbought Direction Down Value 70 |
| Avoid news | Step 4: Economic Calendar condition noEvent (see dedicated article) |
| Session | Step 4: Market session London + New York overlap |
| Risk | Step 5: 0.5% risk, 25 pip SL (or ATR SL — EA Risk Management) |
Full RSI field reference: RSI Overbought/Oversold EA — No Code.
Six Steps: Build, Export, Backtest
Step 1 — Strategy information
Name the EA after the logic, e.g. Manual RSI H1 EURUSD v1 — so backtest reports stay readable.
Step 2 — Timeframes
Match your decision chart. If you only use H1, enable one timeframe. If you use H4 bias + H1 entry, enable both — Advanced EA MTF & Filters.
Step 3 — Signals
Recreate only what is on your worksheet. Use AND for stacked rules (“RSI cross AND price above EMA 200”). Avoid adding indicators you do not use manually — that changes the strategy.
Step 4 — Filters
Port every “I usually skip…” rule:
- Session — Asian / London / NY
- Spread — max points
- Economic Calendar — blackout around CPI, NFP, FOMC
- ATR — skip dead or panic volatility
Step 5 — Risk management
Mirror your manual risk:
| Manual habit | Builder setting |
|---|---|
| Fixed lot | Fixed lot size |
| % risk per trade | Risk percent + SL distance |
| Daily stop trading | Account protection / max daily loss (if available on your plan) |
Prop-style limits are covered in Prop Firm EA Rules and FTMO Challenge EA — No Code.
Step 6 — Preview and Save
Confirm Buy/Sell symmetry matches your worksheet → Save.
Export path: Code Generator → download .mq5 → MetaEditor F7 → Strategy Tester with Every tick and realistic spread → Demo → small live.
Common Conversion Mistakes
| Mistake | Fix |
|---|---|
| Automating a different strategy than you trade manually | Lock worksheet first; version the EA name |
| No exit rule | Add opposite signal or hard SL/TP on Step 5 |
| Overfitting in Tester | Fewer parameters; forward test — Tester vs Live |
| Ignoring spread/slippage | Step 4 spread filter; conservative Tester spread |
| Skipping news filter you use manually | News Filter — No Code |
Next Steps
| Goal | Article |
|---|---|
| Platform overview | Build EA Without Coding |
| First coded MA EA (compare logic) | Build Your First EA |
| News blackout in builder | News Filter MT5 EA — No Code |
| Funded account build | FTMO Challenge EA Without Coding |
| Backtest discipline | Backtest EA in Strategy Tester |
Try it: Strategy Builder demo — convert one manual strategy this week; export only after the worksheet is complete.