Automation · AI · APIs · Trading systems

From a manual strategy to an Expert Advisor you can trust

I convert rules-based MT4/MT5 strategies into clean, risk-managed MQL5/MQL4 — not a template EA with the variables swapped.

The difference

A template EA

  • Fixed lot size — one bad run and the account is gone
  • No real stop logic, no spread or session guard
  • Reads indicators on the live bar, so signals repaint
  • Silently breaks on a requote or reconnect

How I build it

  • Risk-based sizing — you set "risk 1%", lots are computed from the stop
  • ATR stop-loss + fixed reward:risk take-profit
  • Acts only on closed bars — no repaint, no lookahead
  • Session + spread filters, one position at a time, error-checked

How I convert your strategy

Extract your rulesYou describe how you trade by hand: entries, exits, risk. Screenshots welcome.
Plain-English spec you approveI write your logic back to you in plain English. We fix ambiguities before a line of code is written.
Clean MQL5/MQL4Readable, commented code — every rule maps to a sentence you approved.
Backtest in the Strategy TesterHistorical run with the real metrics: return, drawdown, win rate, profit factor, R:R.
Forward-test on demo + docsWe run it live on a demo account, fix anything that shows up, and I hand over short docs on every setting.

Plain English → code

The rule you'd tell me:

"In an uptrend, when price pulls back to the fast EMA and closes back above it, buy — risking 1% with a 2×ATR stop and a 2:1 target."

Becomes exactly that, readable:

// LONG: uptrend, pullback to fast EMA, close back above, RSI confirms
if(uptrend && low1 <= fast && close1 > fast && rsi >= RSIlong)
{
   double sl   = ask - ATRmultSL*atr;
   double tp   = ask + ATRmultSL*atr*RR;
   double lots = LotForRisk(ask - sl);   // risk 1% -> exact lots
   if(lots > 0) trade.Buy(lots, _Symbol, ask, sl, tp);
}

Everything is adjustable

You asked for "adjustable input parameters (risk %, TP/SL, sessions, filters)". Built in from the start:

Risk per trade RiskPercent %
Stop-loss ATR × mult
Reward:risk RR
Trend / entry EMAs TrendEMA / FastEMA
RSI confirmation RSIlong / RSIshort
Trading session StartHour–EndHour
Spread guard MaxSpreadPts
Trade isolation Magic number

Proof, not promises

Here's a sample trend-pullback strategy (the one above) run through my backtest pipeline on real XAUUSD H1 data — one full year:

+33.7%RETURN / YR
1.45PROFIT FACTOR
8.0%MAX DRAWDOWN
114TRADES
Equity curve of the sample EA backtest on XAUUSD H1
Sample strategy, illustrative of the pipeline — not your strategy and not a profit promise. The point is the discipline: risk-based sizing, a real stop, an honest equity curve you can inspect. Your strategy runs through the same frame, and you see the real numbers before anything goes live.

What you get

  • The full EA source (.mq5 / .mq4) — yours, commented
  • Adjustable inputs for every rule, risk and filter
  • A Strategy-Tester backtest report on your pair & timeframe
  • Forward-test on a demo account + fixes for anything that surfaces
  • Plain-English documentation of every setting
  • Clean handover — you own it, you can run it without me

Send me your rules

I'll write them back to you as a plain-English spec, and convert your first entry rule into working code — free — so you can read my MQL before you commit to anything.

See my work & message me →