On this page
Back to tutorials

Manual Strategy to MT5 EA — No Code

DIY worksheet: map manual entry, exit, filters, and risk to Strategy Builder steps 1–6, export MQL5, and backtest — no freelancer required.

📖 16 min read

📝 3,100 words

🏷️ MQL5 & Expert Advisors

Share this article:

Want to build a no-code strategy right now?

Create your free account in seconds and start building immediately.


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 — RiskSave → 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:

BlockerManual habitWhat the EA needs
Vague entries“Strong rejection at support”Indicator level + confirmation bars
Missing exits“I feel it” / manual closeOpposite 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:

RowYour answer (example)
MarketEURUSD spot
Chart timeframeH1 (decision chart)
DirectionLong and short, or long-only
Entry — longRSI(14) crosses up through 30 from below
Entry — shortRSI crosses down through 70 from above
Exit — longOpposite RSI cross at 70, or SL hit
Exit — shortOpposite RSI cross at 30, or SL hit
FiltersNo trades 30 min before/after high-impact USD news; London–NY session only
Risk0.5% equity per trade; SL 25 pips; max 2 open trades
InvalidationSkip 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 rowStrategy Builder stepUI area
Market / nameStep 1 — Strategy informationName, description
Timeframe(s)Step 2 — TimeframesEnable H1 (or multi-TF)
Entry / exitStep 3 — SignalsBuy/Sell tabs, indicators, conditions
FiltersStep 4 — FiltersSession, spread, Economic Calendarnews filter guide
RiskStep 5 — Risk managementLot, SL/TP, trailing, account guards
ReviewStep 6 — Preview & SaveValidate → 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 ruleBuilder implementation
H1 chartStep 2: timeframe H1
RSI 30 bounceStep 3 Buy: RSI Length 14, condition Cross Target Oversold Direction Up Value 30
RSI 70 fadeStep 3 Sell: Cross Target Overbought Direction Down Value 70
Avoid newsStep 4: Economic Calendar condition noEvent (see dedicated article)
SessionStep 4: Market session London + New York overlap
RiskStep 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 habitBuilder setting
Fixed lotFixed lot size
% risk per tradeRisk percent + SL distance
Daily stop tradingAccount 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 F7Strategy Tester with Every tick and realistic spread → Demo → small live.


Common Conversion Mistakes

MistakeFix
Automating a different strategy than you trade manuallyLock worksheet first; version the EA name
No exit ruleAdd opposite signal or hard SL/TP on Step 5
Overfitting in TesterFewer parameters; forward test — Tester vs Live
Ignoring spread/slippageStep 4 spread filter; conservative Tester spread
Skipping news filter you use manuallyNews Filter — No Code

Next Steps

GoalArticle
Platform overviewBuild EA Without Coding
First coded MA EA (compare logic)Build Your First EA
News blackout in builderNews Filter MT5 EA — No Code
Funded account buildFTMO Challenge EA Without Coding
Backtest disciplineBacktest EA in Strategy Tester

Try it: Strategy Builder demo — convert one manual strategy this week; export only after the worksheet is complete.

Build your no-code trading strategy now — free

Create your account and start building a complete no-code strategy right now. Add indicators, filters, and risk rules, then export MQL5 in minutes.

Frequently Asked Questions

Yes — if you can write your rules as if/then logic (entry, exit, filters, risk). Use AlfaTactix Strategy Builder to map each rule to signals (Step 3), filters (Step 4), and risk (Step 5), then export MQL5 from Code Generator. Discretionary judgment (“looks strong”) must become measurable conditions.

Not for rule-based systems (indicators, sessions, fixed SL/TP). Developers help for custom order flow, DOM data, or broker-specific hacks. Many traders start with Build EA Without Coding and only hire for gaps the export cannot cover.

Fill a one-page worksheet: market, timeframe, exact entry, exit, filters, and risk per trade. If you cannot define exit rules, fix that on paper before automating — EAs fail when exit logic is vague.

Export MQL5, compile in MetaEditor, run Strategy Tester on Every tick with realistic spread. Then Demo forward test. Read Strategy Tester vs Live before live.

Automate only the repeatable parts first (e.g. RSI 30/70 + session filter). Keep discretionary overlays manual until you can encode them as conditions. See Advanced MTF & Filters for structured filters.

A simple single-timeframe strategy often takes 1–3 hours for first export and backtest if your worksheet is complete. Complex multi-timeframe + news filters take longer — see News Filter EA — No Code and MACD + RSI Confluence.

Build your no-code strategy now — free

Create Free Account