Is the Golden Cross Profitable on Forex? 280 Moving Average Tests
A USD/JPY test of 280 moving-average crossover settings across 2024 and 2025, comparing periods, timeframes, win rates, SMA, EMA and three other methods.
Use two moving averages: buy when the fast line crosses above the slow line and sell when it crosses below. Those are the golden-cross and dead-cross rules tested here.
The variables are the two periods, the averaging method and the timeframe. This article writes a fast period of 10 and a slow period of 20 as 10/20.
We tested 56 period pairs with five averaging methods, giving 280 settings. Each was backtested on 15-minute, one-hour and four-hour USD/JPY data for 2024 and 2025.
The largest 2025 annual net result was 12/50 weighted (WMA) on the 15-minute chart: 751 trades, a 33.95% win rate and +2,978.0 pips. On the four-hour chart, however, profitable settings fell from 243 of 280 in 2024 to 60 in 2025. The timeframe and whether price sustained one direction mattered more than selecting one period pair.
What a crossover actually measures
A moving average is the last n bars smoothed into one line. Lengthen the period and the line drifts further from price and takes longer to change direction.
Watching two of them cross means watching which smoothing is on top, and taking the moment they change places. They change places when recent price has moved far enough away from the older average, which makes a crossover a proxy for "the trend may have turned".
The rule has three parameters.
| Parameter | What raising or changing it does |
|---|---|
| Fast period | The fast line reacts later and crosses less often |
| Slow period | The slow line reacts later and holds trades longer |
| Averaging method | Changes the line's distance from price and the crossing count |
On the one-hour chart in 2025, a slow period of 20 averaged 398 trades and a slow period of 200 averaged 108. Hull moving averages (HMA) averaged 455 trades and smoothed moving averages (SMMA) 86. Both periods and methods change trade frequency.
How to put two moving averages on a chart
Moving averages overlay the price chart. Add one fast line and one slow line, then set the period and method of each.
| Platform | Steps |
|---|---|
| MT4 / MT5 | Add Moving Average twice. Choose simple, exponential, smoothed or linear weighted |
| TradingView | Add Moving Average twice and set the period and method of each |
| Browser (Formiq) | Add two moving averages. Choose SMA, EMA, WMA, SMMA or HMA |
The five methods tested are simple (SMA), exponential (EMA), weighted (WMA), smoothed (SMMA) and Hull (HMA). HMA is not built into MT4 or MT5.
How this was tested
The test used these conditions.
| Item | Value |
|---|---|
| Pair | USD/JPY |
| Period | 2025-01-01 to 2025-12-31 (2024 run identically for comparison) |
| Timeframes | 15-minute / one-hour / four-hour |
| Bars tested | 24,903 on M15, 6,226 on H1, 1,610 on H4 for 2025 |
| Long | Close of the bar where the fast average crosses above the slow one |
| Short | Close of the bar where the fast average crosses below |
| Exit | The opposite crossover, reversing into the new direction at the same close. No stop, target or time limit |
| Spread | 0.3 pips, zero slippage, 0.1 lots. Charged on the exit and the new entry both |
| Grid | 8 fast periods (5, 8, 10, 12, 15, 20, 25, 50) × 8 slow periods (20, 25, 30, 40, 50, 75, 100, 200), keeping the 56 pairs where fast is shorter × 5 averaging methods = 280, per timeframe per year |
| Measurement | Run through Formiq's backtester, with pips re-derived from each trade's fill prices |
The main grid uses the same method on both lines. Mixed methods are tested separately.
Holding to the opposite crossover with no stop keeps this a test of the crossover rather than of the crossover plus an exit. Stops and targets get their own section.
Which timeframe should you use?
The four-hour chart varied most between years, leaving 32 of 280 profitable in both. The same 280 settings were run on each timeframe.
| Timeframe | Profitable in 2025 | 2025 median | Profitable in 2024 | 2024 median | Profitable in both |
|---|---|---|---|---|---|
| 15-minute | 231/280 | +810 pips | 234/280 | +1,420 pips | 205/280 |
| One-hour | 188/280 | +445 pips | 259/280 | +1,671 pips | 172/280 |
| Four-hour | 60/280 | −1,153 pips | 243/280 | +2,151 pips | 32/280 |
On the four-hour chart, profitable settings fell from 243/280 in 2024 to 60/280 in 2025. The median annual net result reversed from +2,151 pips to −1,153, and only 32/280 were profitable in both years.
The number profitable in both years was 205/280 on the 15-minute chart and 172/280 on the one-hour chart. More settings held up across both years than on the four-hour chart.
The path of price differed between the two years. USD/JPY rose 1,632 pips from the start to the end of 2024. In 2025, the year-end price was 56 pips below the year-opening price. The high-to-low ranges were still similar at 2,237 and 1,900 pips. Price sustained an upward direction in 2024, while in 2025 it moved widely but finished near where it began. A moving-average crossover benefits from a sustained direction, and that difference affected the four-hour results most.
How the common period pairs performed
These are the annual net results for common period pairs.
| Combination | Timeframe | 2025 | 2024 |
|---|---|---|---|
| 5/20 SMA | 15-minute | +264.5 pips | +646.1 pips |
| 5/20 SMA | One-hour | −484.9 pips | +3,744.7 pips |
| 10/20 SMA | 15-minute | +1,015.0 pips | +1,600.9 pips |
| 10/20 SMA | One-hour | +377.4 pips | +2,888.4 pips |
| 12/25 EMA | 15-minute | +1,436.6 pips | +2,102.1 pips |
| 12/25 EMA | One-hour | +970.9 pips | +440.6 pips |
| 20/50 SMA | 15-minute | +1,774.9 pips | +1,464.8 pips |
| 20/50 SMA | One-hour | −220.5 pips | −34.6 pips |
| 25/75 SMA | 15-minute | −1,023.1 pips | +3,613.7 pips |
| 25/75 SMA | One-hour | −56.8 pips | −253.1 pips |
| 50/200 SMA | 15-minute | +629.3 pips | +301.2 pips |
| 50/200 SMA | One-hour | −1,340.4 pips | +2,435.4 pips |
On the 15-minute chart, 25/75 SMA moved from +3,613.7 pips in 2024 to −1,023.1 in 2025. On the one-hour chart, 5/20 SMA moved from +3,744.7 to −484.9 pips. The familiar period pairs did not repeat the same result in both years.
The 10/20 SMA default was profitable in both years on the 15-minute and one-hour charts. On the four-hour chart it lost in both years: −1,336.2 pips in 2025 and −1,245.7 pips in 2024.
Did the 50/200 golden cross work?
Its result rests on too few trades to judge. The common 50/200 SMA pair produced these results.
| Timeframe | Year | Trades | Win rate | Annual net |
|---|---|---|---|---|
| 15-minute | 2025 | 147 | 38.10% | +629.3 pips |
| 15-minute | 2024 | 147 | 29.93% | +301.2 pips |
| One-hour | 2025 | 47 | 31.91% | −1,340.4 pips |
| One-hour | 2024 | 27 | 55.56% | +2,435.4 pips |
| Four-hour | 2025 | 14 | 50.00% | +173.6 pips |
| Four-hour | 2024 | 7 | 71.43% | +1,357.5 pips |
The 71.43% win rate on the four-hour chart in 2024 is five wins from seven trades. That sample is too small to establish an edge. On the one-hour chart, annual net pips reversed from +2,435.4 in 2024 to −1,340.4 in 2025.
Is a longer slow line better?
Lengthening it widened the gap between the two years. The next table groups the one-hour results by slow period.
| Slow period | 2025 mean | 2024 mean | Profitable in both |
|---|---|---|---|
| 20 | +736 pips | +1,899 pips | 20 / 25 |
| 25 | +992 pips | +1,798 pips | 30 / 30 |
| 30 | +822 pips | +1,474 pips | 31 / 35 |
| 40 | +709 pips | +1,388 pips | 26 / 35 |
| 50 | +567 pips | +1,468 pips | 27 / 35 |
| 75 | −129 pips | +1,293 pips | 17 / 40 |
| 100 | −158 pips | +1,679 pips | 17 / 40 |
| 200 | −1,179 pips | +1,964 pips | 4 / 40 |
All 30 settings with a slow period of 25 were profitable in both years. At a slow period of 200, only 4 of 40 were. The slow-200 mean changed from +1,964 pips in 2024 to −1,179 in 2025. Longer slow periods produced a wider difference between the two years.
On the 15-minute chart, 24 of 40 settings with a slow period of 200 were profitable in both years. The effect was smaller than on the one-hour chart, so the timeframe also changed the result.
Does last year's best repeat?
It did not. The best 2024 setting on each timeframe was run unchanged in 2025.
| Timeframe | Best 2024 setting | 2024 annual net | 2025 annual net | 2025 median |
|---|---|---|---|---|
| 15-minute | 20/75 SMA | +3,995.2 pips (387 trades) | −234.6 pips | +809.8 pips |
| One-hour | 5/25 SMA | +3,828.5 pips (309 trades) | +583.3 pips | +445.0 pips |
| Four-hour | 8/50 WMA | +3,378.8 pips (44 trades) | −1,367.2 pips | −1,152.9 pips |
The 2024 winner lost money in 2025 on the 15-minute and four-hour charts and finished below the 2025 median. The one-hour winner remained profitable but only slightly exceeded the median. Choosing the previous year's winner did not reproduce the previous year's result.
Which moving average type is best?
It changes with the timeframe: EMA on M15, HMA on H1, SMMA on H4. The table counts settings that were profitable in both 2024 and 2025. Each method has 56 settings.
| Method | 15-minute | One-hour | Four-hour |
|---|---|---|---|
| SMA | 48/56 | 28/56 | 2/56 |
| EMA | 52/56 | 34/56 | 2/56 |
| WMA | 49/56 | 39/56 | 8/56 |
| SMMA | 43/56 | 22/56 | 13/56 |
| HMA | 13/56 | 49/56 | 7/56 |
The largest counts were EMA at 52/56 on the 15-minute chart, HMA at 49/56 on the one-hour chart and SMMA at 13/56 on the four-hour chart. HMA fell to 13/56 on the 15-minute chart and averaged 1,852 trades there, compared with 324 to 875 for the other four methods. Method selection therefore needs the profitable-setting count and trade count for the specific timeframe.
SMA versus EMA at identical periods
An SMA gives the last n closes equal weight and drops anything older. An EMA gives more weight to recent closes and lets older observations fade rather than disappear at a fixed boundary. That is the basis for calling the EMA "faster", but a faster response does not automatically produce a better trading result.
To separate method from every other choice, we paired SMA and EMA runs with the same fast period, slow period, timeframe and test window. The comparison contains 672 one-to-one matches.
The EMA produced more annual net pips in 318 of 672 comparisons and the SMA in 354. The EMA took fewer trades in 405. It tended to reduce frequency, but it did not finish ahead on annual net pips.
| Timeframe | EMA profitable both years | SMA profitable both years | 2024 winner also won in 2025 |
|---|---|---|---|
| M15 | 52 / 56 | 48 / 56 | 19 / 56 |
| H1 | 34 / 56 | 28 / 56 | 26 / 56 |
| H4 | 2 / 56 | 2 / 56 | 25 / 56 |
The EMA left slightly more settings profitable in both years on M15 and H1, while H4 was tied. The method with higher annual net pips in 2024 repeated in fewer than half of the 56 period pairs on every timeframe. The 10/20 pair on M15 shows the reversal plainly: in 2025 the SMA made +1,015.0 pips and the EMA +2,052.3; in 2024 the SMA made +1,600.9 and the EMA +1,183.0. The winning method changed with the year, so last year's result is not a sound reason to lock in EMA or SMA.
The full SMA versus EMA test covers the weight profiles, response timing and sensitivity to starting history behind these results.
What if the two lines use different types?
The longer period can move faster, reversing the roles of the two lines. We tested the 25 fast-method and slow-method combinations on the one-hour chart. The figure shows each moving average's mean distance from the close.
A 20-period HMA sat 18.7 pips from the close, while a 10-period SMA sat 22.1 pips away. The longer HMA was closer to price, so using HMA only on the slow line of a 10/20 pair made that line react faster.
On the one-hour chart in 2024, 10/20 with SMA fast and HMA slow lost 3,393.4 pips over 385 trades. Reversing the methods made +3,739.2 pips over 397 trades. When the two lines use different methods, the periods alone do not identify which line reacts faster.
Does a higher win rate mean more profit?
Not consistently. On the 15-minute chart, the highest win rate came from 15/20 HMA: 44.22% over 2,680 trades, yet it lost 755.1 pips. The annual-net leader, 12/50 WMA, won only 33.95% of its trades. Its average winner was +56.74 pips and its average loser −23.17, so the size of the winners offset the lower win rate.
The four-hour results even include a 100% win rate, but it came from only two trades. Win rate needs to be read together with trade count and annual net pips.
Filters, stops and targets
Two 15-minute settings, with the filters that usually get suggested.
| Condition | Year | Trades | Win rate | Annual net |
|---|---|---|---|---|
| 10/20 SMA | 2025 | 1,402 | 37.52% | +1,015.0 pips |
| 10/20 SMA | 2024 | 1,397 | 38.08% | +1,600.9 pips |
| + ADX ≥ 20 | 2025 | 674 | 35.31% | −495.4 pips |
| + ADX ≥ 20 | 2024 | 705 | 37.02% | +923.1 pips |
| + ADX ≥ 25 | 2025 | 354 | 34.75% | −271.0 pips |
| + ADX ≥ 25 | 2024 | 400 | 40.25% | +1,847.9 pips |
| + ADX ≥ 30 | 2025 | 170 | 34.71% | +195.7 pips |
| + ADX ≥ 30 | 2024 | 217 | 37.33% | +703.8 pips |
| + London and New York hours (UTC 7–21) | 2025 | 802 | 37.16% | +846.9 pips |
| + London and New York hours (UTC 7–21) | 2024 | 797 | 37.77% | +41.1 pips |
| + Tokyo hours (UTC 0–8) | 2025 | 460 | 38.91% | +309.7 pips |
| + Tokyo hours (UTC 0–8) | 2024 | 443 | 39.73% | +2,194.9 pips |
ADX ≥ 25 increased annual net pips from +1,600.9 to +1,847.9 in 2024, but changed +1,015.0 to −271.0 in 2025. Restricting trades to Tokyo hours also helped in 2024 and hurt in 2025. Neither filter improved both years.
Stops, targets and a time exit were tested on two 15-minute settings.
| Fast/slow | Method | Year | Exit rule | Annual net |
|---|---|---|---|---|
| 10/20 | SMA | 2025 | Opposite crossover only | +1,015.0 pips |
| 10/20 | SMA | 2024 | Opposite crossover only | +1,600.9 pips |
| 10/20 | SMA | 2025 | SL 30 / TP 60 | +260.0 pips |
| 10/20 | SMA | 2024 | SL 30 / TP 60 | +187.9 pips |
| 10/20 | SMA | 2025 | SL 50 / TP 100 | +535.1 pips |
| 10/20 | SMA | 2024 | SL 50 / TP 100 | +961.9 pips |
| 10/20 | SMA | 2025 | SL 30 / TP 90 | +615.6 pips |
| 10/20 | SMA | 2024 | SL 30 / TP 90 | +1,167.5 pips |
| 10/20 | SMA | 2025 | Time exit, 24 bars | +621.7 pips |
| 10/20 | SMA | 2024 | Time exit, 24 bars | +273.0 pips |
| 12/50 | WMA | 2025 | Opposite crossover only | +2,978.0 pips |
| 12/50 | WMA | 2024 | Opposite crossover only | +2,103.7 pips |
| 12/50 | WMA | 2025 | SL 30 / TP 60 | +1,865.5 pips |
| 12/50 | WMA | 2024 | SL 30 / TP 60 | +599.0 pips |
| 12/50 | WMA | 2025 | SL 50 / TP 100 | +2,498.5 pips |
| 12/50 | WMA | 2024 | SL 50 / TP 100 | +774.7 pips |
| 12/50 | WMA | 2025 | SL 30 / TP 90 | +2,314.2 pips |
| 12/50 | WMA | 2024 | SL 30 / TP 90 | +1,405.1 pips |
| 12/50 | WMA | 2025 | Time exit, 24 bars | +641.2 pips |
| 12/50 | WMA | 2024 | Time exit, 24 bars | −108.5 pips |
For both settings and in both years, the opposite-crossover exit produced the largest annual net result.
On the one-hour chart, however, a 30-pip stop and 90-pip target on 10/20 SMA made +1,260.9 pips in 2025 versus +377.4 unmodified. The same exit underperformed in 2024. The result changed with the timeframe and year.
What does the spread take?
Re-running 2025 with nothing but the spread changed:
| Timeframe | Fast/slow | Method | Trades | Spread | Annual net |
|---|---|---|---|---|---|
| M15 | 10/20 | SMA | 1,402 | 0.0 pips | +1,435.6 pips |
| M15 | 10/20 | SMA | 1,402 | 0.3 pips | +1,015.0 pips |
| M15 | 10/20 | SMA | 1,402 | 0.6 pips | +594.4 pips |
| M15 | 10/20 | SMA | 1,402 | 1.0 pips | +33.6 pips |
| M15 | 10/20 | SMA | 1,402 | 1.5 pips | −667.4 pips |
| M15 | 10/20 | SMA | 1,402 | 2.0 pips | −1,368.4 pips |
| M15 | 12/50 | WMA | 751 | 0.0 pips | +3,203.3 pips |
| M15 | 12/50 | WMA | 751 | 0.3 pips | +2,978.0 pips |
| M15 | 12/50 | WMA | 751 | 0.6 pips | +2,752.7 pips |
| M15 | 12/50 | WMA | 751 | 1.0 pips | +2,452.3 pips |
| M15 | 12/50 | WMA | 751 | 1.5 pips | +2,076.8 pips |
| M15 | 12/50 | WMA | 751 | 2.0 pips | +1,701.3 pips |
| H1 | 10/20 | SMA | 358 | 0.0 pips | +484.8 pips |
| H1 | 10/20 | SMA | 358 | 0.3 pips | +377.4 pips |
| H1 | 10/20 | SMA | 358 | 0.6 pips | +270.0 pips |
| H1 | 10/20 | SMA | 358 | 1.0 pips | +126.8 pips |
| H1 | 10/20 | SMA | 358 | 1.5 pips | −52.2 pips |
| H1 | 10/20 | SMA | 358 | 2.0 pips | −231.2 pips |
| H4 | 50/200 | SMA | 14 | 0.0 pips | +177.7 pips |
| H4 | 50/200 | SMA | 14 | 0.3 pips | +173.6 pips |
| H4 | 50/200 | SMA | 14 | 0.6 pips | +169.4 pips |
| H4 | 50/200 | SMA | 14 | 1.0 pips | +163.8 pips |
| H4 | 50/200 | SMA | 14 | 1.5 pips | +156.8 pips |
| H4 | 50/200 | SMA | 14 | 2.0 pips | +149.8 pips |
Increasing the spread from 0 to 2.0 pips reduced the 15-minute 10/20 SMA result by 2,804.0 pips, exactly 1,402 trades × 2.0 pips. Spread cost scales with trade count.
The 15-minute 10/20 SMA was near break-even at a 1.0-pip spread and lost money at 1.5. The lower-frequency 12/50 WMA still returned +1,701.3 pips at a 2.0-pip spread. Short-timeframe results need to be checked against the actual spread paid.
Related reading
- SMA versus EMA
- GMMA settings tested
- Moving-average disparity settings tested
- DMI/ADX periods and thresholds tested
Notes
- The test covers USD/JPY in 2024 and 2025. Other pairs and periods were not tested
- Entries and exits use bar closes. Actual fill prices may differ
- The spread is fixed at 0.3 pips. Real spreads change by session and around economic releases
- A slow period of 200 uses 200 bars from before the test window. A chart with less history may not produce the same line
Questions people ask
- What are the best moving average crossover settings?
- On USD/JPY in 2025, the largest annual net result came from 12/50 weighted moving averages on the 15-minute chart: 751 trades, a 33.95% win rate and +2,978.0 pips. The 20/75 simple setting that led in 2024 lost 234.6 pips in 2025, so one year did not identify the next year's best setting.
- Which moving average periods work best?
- On the one-hour chart, all 30 settings with a slow period of 25 were profitable in both 2024 and 2025. At a slow period of 200, only 4 of 40 were profitable in both years. Longer slow periods produced a larger difference between the two years.
- What is the win rate of a golden cross?
- Across 280 settings on the one-hour chart in 2025 win rates ran from 12.24% to 48.75%. When a position is held until the opposite crossover with no stop, the rule wins less than half its trades and depends on winners being larger than losers. The best 15-minute setting won 33.95% of its trades, averaging +56.74 pips per win against −23.17 pips per loss.
- Does the 50/200 golden cross work on forex?
- On the four-hour chart, 50/200 simple made 7 trades for +1,357.5 pips in 2024 and 14 trades for +173.6 pips in 2025. Those trade counts are too small to establish an edge. On the one-hour chart it made 47 trades and lost 1,340.4 pips in 2025.
- Which timeframe suits a moving average crossover?
- The number profitable in both 2024 and 2025 was 205 of 280 on the 15-minute chart, 172 on the one-hour and 32 on the four-hour. In these two years of USD/JPY data, more settings held up on the 15-minute chart.
Formiq is a free browser-based FX terminal with replay practice and no-code backtesting. Open the chart or see what the free plan includes.