Does buying the EMA 20 pullback in an uptrend work on EUR/USD? Backtest (last 90 days)
The rule, in plain words
We only buy while EUR/USD trades above its 50-period exponential moving average on the 4-hour chart, our definition of an uptrend. Between 07:00 and 16:00 UTC, when the price crosses back above the 20-period EMA of the 15-minute chart after a dip, we buy. The stop goes 1.5 times the 15-minute ATR(14) below the entry, the target is twice the amount risked, and any trade still open is closed at 20:30 UTC.
Over the last 90 days this rule roughly broke even: 18 trades, 33% won, −0.9R.
R = units of risk: +2R means you won twice what you risked on each trade, −1R means you lost what you risked.
Cumulative result (R) trade by trade
Every trade
| Date (UTC) | Side | Exit | Result |
|---|---|---|---|
| Sep 03, 14:48 | Buy | Target | +2.00R |
| Sep 04, 07:01 | Buy | Stop | −1.00R |
| Sep 07, 12:19 | Buy | Closed by time | +0.24R |
| Sep 09, 08:13 | Buy | Stop | −1.00R |
| Sep 10, 07:16 | Buy | Stop | −1.00R |
| Oct 15, 08:05 | Buy | Stop | −1.00R |
| Oct 16, 12:22 | Buy | Stop | −1.00R |
| Oct 19, 13:44 | Buy | Stop | −1.00R |
| Oct 20, 07:02 | Buy | Stop | −1.00R |
| Oct 21, 07:29 | Buy | Stop | −1.00R |
| Oct 22, 07:28 | Buy | Stop | −1.00R |
| Oct 30, 07:23 | Buy | Target | +2.00R |
| Nov 02, 11:03 | Buy | Target | +2.00R |
| Nov 03, 08:36 | Buy | Stop | −1.00R |
| Nov 04, 07:20 | Buy | Target | +2.00R |
| Nov 05, 15:23 | Buy | Closed by time | −0.10R |
| Nov 09, 14:52 | Buy | Target | +2.00R |
| Nov 10, 09:16 | Buy | Stop | −1.00R |
Test it yourself with your AI
Connect TraderWAI to Claude, ChatGPT or any AI and paste this. Change the market, the period or the rule and compare.
Backtest on EUR/USD for the last 90 days: with the price above the H4 EMA 50, buy when it crosses above the M15 EMA 20 between 07:00 and 16:00 UTC, stop 1.5 × ATR(14) M15, target 2R, close at 20:30 UTC.Leave it running
If you like a rule, your AI can turn it into a conditional order: TraderWAI checks it every minute on your own broker account, with the stop and the risk per trade you choose, even with the chat closed. You can keep every order waiting for your approval.
Updated automatically every day · last update Nov 29, 2026 · period Aug 31, 2026 – Nov 27, 2026
How it is calculated
1-minute data from the TraderWAI market feed. Entry at the close of the 1-minute candle where the rule is met (the same engine that runs live conditional orders). If one candle touches both the stop and the target, the stop is counted (worst case). No spread, commissions or slippage.
Past results don't guarantee future ones. Not financial advice.
Questions
What is a backtest?
It applies a fixed rule to past prices to see what would have happened: which trades it would have taken and how each one ended. It tells you how the rule behaved, not how it will behave.
What does R mean?
R is the amount you risk on each trade (the distance to the stop). +2R is a win of twice that risk and −1R is a full loss. It lets you compare results without depending on account size.
Can I change the rule?
Yes. Ask your AI for the same backtest with another market, period, stop or target. On the free plan you can test the last 14 days; paid plans go back up to 6 months (Plus), 1 year (Trader) or 2 years (Max).