10 strategy templates, ready to export
Pick a template, adjust a few settings, and export a working MetaTrader 5 Expert Advisor. Each template includes built-in risk management with ATR-based stop loss, take profit based on risk-reward ratio, and proper position sizing. No coding required.
EMA Crossover
Enter when the fast EMA crosses the slow EMA. Set your EMA periods, risk %, and ATR stop loss. Optional higher-timeframe trend filter and RSI confirmation.
Basic: Fast EMA, Slow EMA, Risk %, SL (ATR), TP (R-multiple)
Advanced: HTF trend filter, RSI confirmation
RSI Reversal
Buy oversold, sell overbought. Drag an RSI indicator, connect buy and sell conditions, and add ATR-based stop loss and take profit nodes. Fully customizable with individual blocks.
Basic: RSI Period, OB Level, OS Level, Risk %, SL (ATR)
Advanced: Session filter, Trend filter
Range Breakout
Trade the breakout of a recent price range. Use the Range Breakout price action block with buy and sell conditions, ATR stop loss, and take profit nodes.
Basic: Range Period, Risk %, SL (ATR), TP (R-multiple)
Advanced: London session filter, Cancel opposite order
Trend Pullback
Wait for a trend (EMA direction) then enter on an RSI pullback. Set the trend EMA, RSI dip level, risk %, and ATR stop loss.
Basic: Trend EMA, RSI Period, Dip Level, Risk %, SL (ATR)
Advanced: London session filter, EMA buffer
MACD Crossover
Enter on MACD signal line crossover. Drag a MACD indicator, connect buy and sell conditions, and add ATR-based risk management nodes. Clean signal cross logic.
Basic: Fast/Slow/Signal, Risk %, SL (ATR), TP (R-multiple)
Advanced: HTF trend filter
RSI/MACD Divergence
Detect RSI or MACD divergence with price action. Enter when momentum diverges from price — a classic reversal signal. Set lookback, threshold, risk %, and ATR stop loss.
Basic: Indicator, Lookback, Threshold, Risk %, SL (ATR), TP (R-multiple)
Advanced: Trend filter, Min divergence bars
Bollinger Band Reversal
Enter when price touches the upper or lower Bollinger Band. Uses a standalone BB indicator with buy and sell conditions, ATR stop loss, and take profit nodes.
Basic: BB Period, BB Deviation, Risk %, SL (ATR), TP (R-multiple)
Advanced: Session filter
ADX Trend Strength
Enter when ADX confirms a strong trend via DI crossover. Uses a standalone ADX indicator with buy and sell conditions and ATR-based risk management.
Basic: ADX Period, Threshold, Risk %, SL (ATR), TP (R-multiple)
Advanced: Session filter
Stochastic Reversal
Buy oversold, sell overbought using the Stochastic oscillator. Uses a standalone Stochastic indicator with buy and sell conditions and ATR-based risk management.
Basic: K Period, D Period, Slowing, Risk %, SL (ATR), TP (R-multiple)
Advanced: Session filter
Ichimoku Cloud
Enter on Ichimoku Cloud breakouts — buy above the cloud, sell below. Uses a standalone Ichimoku indicator with buy and sell conditions and ATR-based risk management.
Basic: Tenkan, Kijun, Senkou B, Risk %, SL (ATR), TP (R-multiple)
Advanced: Session filter
How to build an EA from a template
1. Pick a template
Choose the strategy that matches how you trade. Prefer riding trends? Start with EMA Crossover or Ichimoku Cloud. Like buying dips? Try RSI Reversal or Stochastic Reversal. Want session-based entries? Go with Range Breakout.
2. Adjust a few settings
Each template has sensible defaults for every setting. Change what you want, or leave the defaults — every template exports a valid EA immediately. Optional advanced toggles let you add filters without complexity.
3. Export, backtest, optimize
Export clean MQL5 code, load it into MetaTrader 5, and backtest in Strategy Tester. Use MT5's built-in optimization to find the best parameters. Start with a demo account and at least 6 months of historical data.
Which template is right for you?
| Market | Complexity | Key strength | |
|---|---|---|---|
| Range Breakout | Session opens | Simple | Clear entry rules |
| EMA Crossover | Trending | Simple | Catches big moves |
| Trend Pullback | Trending | Moderate | Better entries in trends |
| RSI Reversal | Range-bound | Simple | Higher win rate |
| MACD Crossover | Momentum | Simple | Momentum confirmation |
| RSI/MACD Divergence | Reversals | Moderate | Early reversal signals |
| Bollinger Band Reversal | Range-bound | Simple | Volatility-based entries |
| ADX Trend Strength | Trending | Simple | Trend confirmation |
| Stochastic Reversal | Range-bound | Simple | Oversold/overbought signals |
| Ichimoku Cloud | Trending | Moderate | Multi-signal trend system |
Not sure? Start with EMA Crossover — it's the simplest to understand and backtest.