Manual Strategy to MT5 EA — No Code

DIY worksheet: map manual entry, exit, filters, and risk to Strategy Builder steps 1–7 (Tactix Studio can fill steps 3–6 from a plain description), export MQL5, and backtest — no freelancer required.

📖 10 min read

📝 1,814 words

🏷️ MQL5 and Expert Advisors

Share this article:

Manual Strategy to MT5 EA — No Code

Can you turn a manual trading strategy into an MT5 EA without coding?

Write your manual rules on one page (entry, exit, filters, risk, timeframe). In AlfaTactix Strategy Builder, map entry to Step 3 — Entry rules, when not to trade to Step 4 — Filters, SL/TP to Step 5 — Exits, and lot size to Step 6 — 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:

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() [1] 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 — Information and platformName, description, platform
Timeframe(s)Step 2 — TimeframesEnable H1 (or add up to two higher timeframes)
EntryStep 3 — Entry rulesBuy and sell rules, indicators, conditions
FiltersStep 4 — FiltersSessions, time ranges, spread, your own conditions (e.g. ATR volatility) — no news filter yet, see news filter guide
ExitStep 5 — ExitsSL/TP, trailing, breakeven, exit rules
RiskStep 6 — Risk and money managementLot or risk %, account guards
ReviewStep 7 — Review and saveValidate → Save

Key idea: You are not “learning MQL5” first — you are translating a table into the same 7 steps shown in Build EA Without Coding.

Unsure how to phrase a worksheet row in Steps 3–6? Describe it to Tactix Studio in plain language (“RSI crosses 30, London only, 0.5% risk”) — Studio fills the fields and you check them; you still own the rules and the export.


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 rule: Buy when RSI(14) crosses above its Oversold level (30)
RSI 70 fadeStep 3 Sell rule: Sell when RSI(14) crosses below its Overbought level (70)
Avoid newsNot available yet (the news filter is not available) — a Step 4 Market sessions filter or your own ATR condition is the closest substitute
SessionStep 4: Market session London + New York overlap
RiskStep 6: 0.5% risk; Step 5: 25 pip SL (or ATR SL — EA Risk Management)

Full RSI field reference: RSI Overbought/Oversold EA — No Code.


Seven Steps: Build, Export, Backtest

Step 1 — Information and platform

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 — Entry rules

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 that has a real Step 4 equivalent:

  • Session — Asian / London / NY
  • Time range — a specific hour window, weekday restrictions
  • Spread — max points
  • Your own condition — e.g. skip dead or panic ATR volatility

Not available yet: an economic-calendar / news blackout around CPI, NFP or FOMC. If that is part of your manual rule, keep it as a manual check for now, or code it yourself in MQL5 — see News Filter — No Code.

Steps 5 and 6 — Exits, risk and money 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

Prop-style limits are covered in Prop Firm EA Rules.

Step 7 — Review 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

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; out-of-sample dates and a Demo forward test
Ignoring spread/slippageStep 4 spread filter; conservative Tester spread
Assuming the news filter you use manually exists in the builderIt does not today — News Filter — No Code

Builder or Freelancer? When to Hire Help

You post your rules and a developer replies: "I can code your RSI + session strategy for $800, delivery two weeks, three revisions." Reasonable — until you ask: what if I want RSI 10 instead of 14 after the backtest — another invoice? What if the .mq5 is full of magic numbers I am afraid to touch? What if it passes the tester but fails live because spread was never filtered — who fixes that? Wanting control and iteration speed on rules you already understand is a different problem from "I cannot code".

PathTime to a first versionChange the RSI period yourself?Best for
MQL5 freelancer1–4 weeksOnly if you pay again or learn codeCustom execution, complex scope
MetaEditor WizardHoursLimited templates — Wizard vs Strategy BuilderLearning MQL5, simple systems
ChatGPT / AI codeHours to daysOnly if you can read MQL5 — ChatGPT MQL5 guideSnippets and prototypes; risky live
Strategy Builder → export1 day to 1 weekYes — in Step 3Rule-based MT5 EAs with filters

A freelancer still makes sense when the strategy needs custom tick, order-book or other non-standard data; broker-specific execution logic; a port of a TradingView script built on exotic libraries; a news blackout coded in MQL5 (the builder has none today); or when you have the budget and no time. A good developer is worth paying for.

If you hire, marketplaces such as MQL5 Freelance [2] list developers. Whichever you use: get the full commented .mq5 source, put the revision scope and the transfer of the code's ownership in writing, pay in stages, and run the Strategy Tester yourself before the final payment.

Builder first, brief second. Build the entry you already trade in the live demo one evening. If the structure fits, you have your EA; if something essential is missing, you now know exactly what to put in the freelancer brief.


Next Steps

GoalArticle
Platform overviewBuild EA Without Coding
First coded MA EA (compare logic)Build Your First EA
Why there's no news blackout in the builderNews Filter MT5 EA — No Code
Funded account buildProp Firm EA Rules
Backtest disciplineBacktest EA in Strategy Tester

Worksheet gate: Do not open the builder until your one-page rules are written. Then map only entry in the live demo — Tactix Studio can fill Steps 3–6 from a plain-language description if the labels feel unfamiliar. If the structure fits, create a free account when you want to save and export. If you cannot match entry, your manual system is not measurable yet; fix the worksheet, not the code generator.

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 entry rules (Step 3), filters (Step 4), exits (Step 5), and risk (Step 6), then generate 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 run a Demo forward test 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 strategy often takes 1–3 hours for first export and backtest if your worksheet is complete. Strategies with several stacked conditions take longer — see MACD + RSI Confluence. If your worksheet includes a news filter, that part has to wait: AlfaTactix has no economic-calendar filter today — see News Filter EA — No Code.

Prices range from a few hundred to several thousand US dollars, so scope the job in writing: full commented source code, the number of revisions, and the transfer of the code's ownership. Pay in stages and run the Strategy Tester yourself before the final payment. Building the entry in the Strategy Builder demo first shows what, if anything, the developer actually needs to add.

On paid plans, Tactix Studio can fill the form from worksheet rows you write in plain language — entry rules, filters, exits, and risk — and you check every change. It does not invent a new strategy and it never writes code. Try the mapping in the Strategy Builder demo; sign up when you want to save and export.

References

  1. MetaQuotes, MQL5 Reference. OnTick. https://www.mql5.com/en/docs/event_handlers/ontick
  2. MQL5.community. Developing trading applications in MQL5 and MQL4. https://www.mql5.com/en/job