Strategies

Triple EMA 4/9/18: 72-Month Test and Which MT5 Robot to Use

Anton Rozhnovsky · November 9, 2026 · 11 min read
Triple EMA 4/9/18: 72-Month Test and Which MT5 Robot to Use

Three moving averages aligned in order, the 4 above the 9 and the 9 above the 18, and it looks like the trend has been confirmed three times. People love the 4/9/18 system for how visual it is: you can see it on any chart, and on historical data it neatly catches the big moves. I wrote a robot with the system’s rules and ran it on seven markets over 72 months. I’ll show you what came out and which robot is better to use instead.

📊 Download the “EMA Crossover” robot for free, the one that actually works

Triple EMA 4/9/18: an honest 72-month test on MetaTrader 5

The strategy rules

The three-average system of 4, 9 and 18 days was described by R. C. Allen in his books for futures traders in the early 1970s; John Murphy analyzes it in detail in “Technical Analysis of the Financial Markets” as the “triple crossover method.” The idea: the short average reacts first, the long one confirms, and the trade is opened only when all three agree:

Allen used simple averages; today the system is usually traded with exponential ones. In the classic test I used EMAs, and in the optimization I checked both variants. The timeframe of the classic is D1, as in the original.

What it looks like on the chart

Below are two real trades from the robot, from the best set the optimizer found on BITCOIN D1, and both from the forward period. The blue line is EMA 4, the pink one is EMA 9 and the yellow one is EMA 18.

Example of a winning trade with the triple EMA 4/9/18 on BITCOIN D1: entry, stop and exit

The trade that makes many people like the system. On October 14, 2024 the averages lined up to the upside: EMA 4 above EMA 9 and EMA 9 above EMA 18. The robot bought bitcoin at 62,775 and held the position for more than two months, until December 23, when EMA 9 dropped below EMA 18. Exit at 95,108: +$1,293.

Example of a losing trade with the triple EMA 4/9/18 on BITCOIN D1: exit at the stop

The trade that eats those wins. On March 26, 2025 the averages lined up to the upside again, and the robot bought at 87,748, with a stop at 81,981. Three days later the price fell and hit the stop: −$173. Most of the system’s trades are like this: only 28% closed in profit. With three averages you can’t tell in advance the start of a big trend from a short impulse.

By hand it looks like this: add three exponential moving averages of 4, 9 and 18 to the daily chart. When they line up in order from bottom to top (18, 9, 4), buy at the open of the next candle, with the stop 2 ATR below the entry. Close when EMA 4 drops below EMA 9. It looks beautiful on historical data, when you already know which of the signals started a big trend.

How I ran the test

MetaTrader 5 Strategy Tester, FxPro demo account with its quotes, spreads, commissions and swaps. Period: October 2020 to October 2026, 72 months. $10,000 deposit, 1:500 leverage, “1 minute OHLC” mode. Why exactly 72 months, I’ll tell you at the end of the article.

The triple EMA over 72 months: positive only on bitcoin

Triple EMA 4/9/18 in its classic form: D1, 7 instruments, 72 months
Instrument (D1) Result Profit factor Max drawdown Trades
BITCOIN +31.4% 1.56 10.0% 143
GOLD +4.5% 1.17 12.1% 68
USDJPY +3.7% 1.09 13.3% 104
GBPUSD −2.7% 0.92 10.4% 105
EURUSD −3.9% 0.89 7.5% 114
WTI (oil) −12.5% 0.53 16.2% 86
USDCHF −20.6% 0.58 23.6% 120

Over six years on daily charts there were 68 to 143 trades per market. Only bitcoin gave a clear positive result; in the other markets the result ranged from +4.5% to −20.6% over six years. There are three reasons:

Bitcoin is the exception for a clear reason: in these years it had several enormous trends, and even a late entry could capture a good chunk of the move.

What if optimization saves it?

I let the optimizer check what is normally changed in this system: simple averages, like Allen’s, or exponential ones; exit on the EMA 4 and EMA 9 cross, or only when EMA 9 crosses EMA 18; a stop of 2 or 3 ATR; a trend filter with EMA 200; longs only or both sides. I left the periods 4, 9 and 18 unchanged: without them it would already be a different system. The market: BITCOIN D1, the only one where the classic won clearly. The optimization was done only on 10/2020–09/2024, and afterward I checked what it found on 10/2024–09/2026, months the optimizer didn’t see.

Triple EMA on BITCOIN D1: classic and best optimized set, forward 10/2024–09/2026

The chart shows the main thing: almost the entire result is a single step in early 2021, when bitcoin multiplied several times over. Of the +$7,782 over the 72 months, the robot made $6,787 in 2021, and in 2022 and 2025 it was in the red. I don’t recommend this set. First, +6.4% in two years is about 3% a year, less than what the robots that did pass the test deliver. Second, bitcoin swaps took $3,595 over 72 months, almost a third of what was earned before costs: the system holds trades for weeks, and carrying a crypto position overnight is expensive with brokers. And third, 12 of the 30 sets that were profitable in training ended up negative in the forward test: this was a lucky year, not a stable edge.

MetaTrader 5 tester report: triple EMA on BITCOIN D1

What to use instead of the triple EMA: robots that passed the test

If you like moving average systems, use a robot that has withstood verification on data the optimizer didn’t see. Today’s EMA crossover robot is from the same family, but with a slow average that filters out the “sawtooth”:

Robot Over 72 months Max drawdown Forward 10/2024–09/2026
EMA 13/50 Crossover, USDJPY H1 +310.9% 24.8% +36.9%, profit factor 1.43
Previous day high breakout, USDJPY H1 +120.8% 13.6% +32.8%, profit factor 1.49
“Holy Grail,” USDJPY H4 +69.3% 8.7% +20.7%, profit factor 2.39
For comparison: the classic triple EMA (7 markets, D1) from +31.4% to −20.6% up to 23.6% —

📊 Download the “EMA Crossover” robot for USDJPY

📊 Download the “Previous Day Breakout” robot for USDJPY

Where to run them and how to download them

The robots work on MetaTrader 5 with any broker. My test was done on FxPro. The other brokers in my ranking also work: RoboForex and Tickmill. The robots are free for clients of these brokers:

  1. Open a MetaTrader 5 account with one of the brokers above (or use the one you already have).
  2. Go to the Telegram bot with the button and send your account number.
  3. After verification, the bot sends you the file: the robot, the ready-made parameters and the instructions. Run it in your broker’s tester, it takes an afternoon, and put it into operation.

If you want to test the three averages yourself, the bot also has the “Triple EMA” robot, with the classic and the optimized parameters, to experiment with in the tester. It’s not advisable to put it on a real account.

My conclusion

The 4/9/18 triple EMA looks great on historical data: the three averages line up and the trend gets caught. But over 72 months you see something else. The system enters late, exits on the first pullback and wins only when the market makes an enormous trend; in these years that happened once, with bitcoin in 2021. In currencies the classic didn’t give a clear positive result in any market over six years, and optimization only found one set that made 6.4% in two unseen years. Protect your deposit: waiting for the next “2021” with a robot that sits idle the rest of the years is expensive. To trade, use a robot that has passed the test, for example the EMA 13/50 crossover robot: the same moving average idea, but adjusted to the market we have today.

Today I also published the analysis of the EMA crossover robot, which passed the test on USDJPY. Other moving average strategies I’ve tested: the “Golden Cross” 50/200, MACD + EMA 200 and Supertrend.

Why 72 months?

The market changes fundamentally every 3–5 years: the participants and the volatility change, and trends give way to ranges. That’s why I don’t run 10–20 year tests: they mix different markets into a single average figure, and after the market changes, the strategy has to be changed anyway. The triple EMA is a clear example. Allen created it for the commodity futures of the 1970s, where trends lasted months. In 2020–2026 the long trends belonged to bitcoin, while currencies moved more in ranges, and the same system won in some markets and gave its money away to the spread in others. You have to trade the market that exists today.

To search for strategies for the current market I built my app “Find your strategy”, in the browser or on Telegram. There you can test any idea on up to 72 months of historical data, and every 2 weeks the app automatically runs tens of thousands of strategies and shows you the ones that work over the last 6, 12 and 36 months. It doesn’t promise profits: it helps you notice in time that the market has changed and that an old idea has stopped working.

Backtest results do not guarantee future results.

Sources

Where to trade

These are the brokers and exchanges I use and that work with clients from Latin America. Always check that the service is available in your country and start small.

Where I trade and what I recommend
Forex & CFD brokers
1
FxPro
A broker with a history going back to 2006 and one of the best-known names in the market. Fast execution and many platforms.
MT4MT5cTraderFxPro App
Open account
2
RoboForex
Low minimum deposit and many account types. A good option to start with little capital.
MT4MT5R StocksTraderCopyFX
Open account
3
Tickmill
Low spreads and competitive commissions. Built for people who trade often and count every pip.
MT4MT5Low spreads
Open account
Crypto exchanges
1
Bybit
One of the largest crypto derivatives exchanges. Futures, spot and copy trading in one account.
FuturesSpotCopy trading
Sign up
2
BingX
A very strong exchange for copy trading: you can follow traders and see their results.
Copy tradingFuturesSpot
Sign up
3
KuCoin
Hundreds of cryptocurrencies and plenty of altcoins. Spot, futures and trading bots in one account.
SpotFuturesTrading bots
Sign up
These are affiliate links: if you open an account, I may receive a commission at no cost to you. Trading CFDs, Forex and leveraged crypto carries a high risk of losing money. Check that the service is available in your country and only trade with money you can afford to lose.
Want my 4 indicators for MT5 free for 30 days? Open an account with a trusted broker, send the number to the Telegram bot and get them. No deposit.

Risk warning: CFDs, Forex and crypto derivatives carry a high risk of losing money due to leverage. This article is not investment advice.

Anton Rozhnovsky
Anton Rozhnovsky

Trader for 14 years. He has automated and tested more than 2,000 strategies in trading robots and develops his own indicators for MetaTrader 5.

← PreviousEMA Crossover Robot for MT5: +311% on USDJPY in 72 Months

Keep reading

Golden Cross 50/200: An Honest 10-Year Test and a Free MT5 Robot
Strategies

Golden Cross 50/200: An Honest 10-Year Test and a Free MT5 Robot

I tested the 50/200 golden cross over 10 years in MT5: it loses in forex, gold and oil, but on Bitcoin H4 it passes the forward test. Numbers and free robot.

Connors’ RSI-2 Strategy: 10-Year Test and Free MT5 Robot
Strategies

Connors’ RSI-2 Strategy: 10-Year Test and Free MT5 Robot

I tested Connors' RSI-2 on 10 years of history in MT5: classic, optimization and forward. All the numbers and the free robot.

MACD + EMA 200 Strategy: 72-Month Test and Free MT5 Robot
Strategies

MACD + EMA 200 Strategy: 72-Month Test and Free MT5 Robot

I tested MACD + EMA 200 over 72 months on MT5: the classic doesn't win in any market, but the optimized version passed the forward test on gold. Free robot.