All posts
PublishedUpdatedBymoving averagegolden crossindicatorsettingsbacktestUSDJPY

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.

−4k−2k0+2k+4knet pips for the yearM15205/280H1172/280H432/280
20252024box: middle 50%; line: min to max; white tick: median; right: settings profitable in both years
Annual net pips for all 280 period-and-method combinations. On the four-hour chart, profitable settings fell from 243 in 2024 to 60 in 2025.

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.

ParameterWhat raising or changing it does
Fast periodThe fast line reacts later and crosses less often
Slow periodThe slow line reacts later and holds trades longer
Averaging methodChanges 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.

PlatformSteps
MT4 / MT5Add Moving Average twice. Choose simple, exponential, smoothed or linear weighted
TradingViewAdd 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.

ItemValue
PairUSD/JPY
Period2025-01-01 to 2025-12-31 (2024 run identically for comparison)
Timeframes15-minute / one-hour / four-hour
Bars tested24,903 on M15, 6,226 on H1, 1,610 on H4 for 2025
LongClose of the bar where the fast average crosses above the slow one
ShortClose of the bar where the fast average crosses below
ExitThe opposite crossover, reversing into the new direction at the same close. No stop, target or time limit
Spread0.3 pips, zero slippage, 0.1 lots. Charged on the exit and the new entry both
Grid8 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
MeasurementRun 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.

TimeframeProfitable in 20252025 medianProfitable in 20242024 medianProfitable in both
15-minute231/280+810 pips234/280+1,420 pips205/280
One-hour188/280+445 pips259/280+1,671 pips172/280
Four-hour60/280−1,153 pips243/280+2,151 pips32/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.

CombinationTimeframe20252024
5/20 SMA15-minute+264.5 pips+646.1 pips
5/20 SMAOne-hour−484.9 pips+3,744.7 pips
10/20 SMA15-minute+1,015.0 pips+1,600.9 pips
10/20 SMAOne-hour+377.4 pips+2,888.4 pips
12/25 EMA15-minute+1,436.6 pips+2,102.1 pips
12/25 EMAOne-hour+970.9 pips+440.6 pips
20/50 SMA15-minute+1,774.9 pips+1,464.8 pips
20/50 SMAOne-hour−220.5 pips−34.6 pips
25/75 SMA15-minute−1,023.1 pips+3,613.7 pips
25/75 SMAOne-hour−56.8 pips−253.1 pips
50/200 SMA15-minute+629.3 pips+301.2 pips
50/200 SMAOne-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.

TimeframeYearTradesWin rateAnnual net
15-minute202514738.10%+629.3 pips
15-minute202414729.93%+301.2 pips
One-hour20254731.91%−1,340.4 pips
One-hour20242755.56%+2,435.4 pips
Four-hour20251450.00%+173.6 pips
Four-hour2024771.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.

−1k0+1k+2k202530405075100200slow period
2025 (−56 pips from year open to close)2024 (+1,632 pips from year open to close)mean of settings sharing the same slow period, one-hour chart
The difference between the two years was 1,163 pips at a slow period of 20 and 3,143 pips at 200. In this one-hour test, longer slow periods increased the difference between years.
Slow period2025 mean2024 meanProfitable in both
20+736 pips+1,899 pips20 / 25
25+992 pips+1,798 pips30 / 30
30+822 pips+1,474 pips31 / 35
40+709 pips+1,388 pips26 / 35
50+567 pips+1,468 pips27 / 35
75−129 pips+1,293 pips17 / 40
100−158 pips+1,679 pips17 / 40
200−1,179 pips+1,964 pips4 / 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.

TimeframeBest 2024 setting2024 annual net2025 annual net2025 median
15-minute20/75 SMA+3,995.2 pips (387 trades)−234.6 pips+809.8 pips
One-hour5/25 SMA+3,828.5 pips (309 trades)+583.3 pips+445.0 pips
Four-hour8/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.

Method15-minuteOne-hourFour-hour
SMA48/5628/562/56
EMA52/5634/562/56
WMA49/5639/568/56
SMMA43/5622/5613/56
HMA13/5649/567/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.

TimeframeEMA profitable both yearsSMA profitable both years2024 winner also won in 2025
M1552 / 5648 / 5619 / 56
H134 / 5628 / 5626 / 56
H42 / 562 / 5625 / 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.

025507510012551020255075200period
SMMASMAEMAWMAHMAmean distance from the close in pips; smaller means closer and faster
The 20-period HMA averaged 18.7 pips from the close, compared with 22.1 pips for the 10-period SMA. A longer period did not always mean a slower line when the methods differed.

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.

ConditionYearTradesWin rateAnnual net
10/20 SMA20251,40237.52%+1,015.0 pips
10/20 SMA20241,39738.08%+1,600.9 pips
+ ADX ≥ 20202567435.31%−495.4 pips
+ ADX ≥ 20202470537.02%+923.1 pips
+ ADX ≥ 25202535434.75%−271.0 pips
+ ADX ≥ 25202440040.25%+1,847.9 pips
+ ADX ≥ 30202517034.71%+195.7 pips
+ ADX ≥ 30202421737.33%+703.8 pips
+ London and New York hours (UTC 7–21)202580237.16%+846.9 pips
+ London and New York hours (UTC 7–21)202479737.77%+41.1 pips
+ Tokyo hours (UTC 0–8)202546038.91%+309.7 pips
+ Tokyo hours (UTC 0–8)202444339.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/slowMethodYearExit ruleAnnual net
10/20SMA2025Opposite crossover only+1,015.0 pips
10/20SMA2024Opposite crossover only+1,600.9 pips
10/20SMA2025SL 30 / TP 60+260.0 pips
10/20SMA2024SL 30 / TP 60+187.9 pips
10/20SMA2025SL 50 / TP 100+535.1 pips
10/20SMA2024SL 50 / TP 100+961.9 pips
10/20SMA2025SL 30 / TP 90+615.6 pips
10/20SMA2024SL 30 / TP 90+1,167.5 pips
10/20SMA2025Time exit, 24 bars+621.7 pips
10/20SMA2024Time exit, 24 bars+273.0 pips
12/50WMA2025Opposite crossover only+2,978.0 pips
12/50WMA2024Opposite crossover only+2,103.7 pips
12/50WMA2025SL 30 / TP 60+1,865.5 pips
12/50WMA2024SL 30 / TP 60+599.0 pips
12/50WMA2025SL 50 / TP 100+2,498.5 pips
12/50WMA2024SL 50 / TP 100+774.7 pips
12/50WMA2025SL 30 / TP 90+2,314.2 pips
12/50WMA2024SL 30 / TP 90+1,405.1 pips
12/50WMA2025Time exit, 24 bars+641.2 pips
12/50WMA2024Time 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:

TimeframeFast/slowMethodTradesSpreadAnnual net
M1510/20SMA1,4020.0 pips+1,435.6 pips
M1510/20SMA1,4020.3 pips+1,015.0 pips
M1510/20SMA1,4020.6 pips+594.4 pips
M1510/20SMA1,4021.0 pips+33.6 pips
M1510/20SMA1,4021.5 pips−667.4 pips
M1510/20SMA1,4022.0 pips−1,368.4 pips
M1512/50WMA7510.0 pips+3,203.3 pips
M1512/50WMA7510.3 pips+2,978.0 pips
M1512/50WMA7510.6 pips+2,752.7 pips
M1512/50WMA7511.0 pips+2,452.3 pips
M1512/50WMA7511.5 pips+2,076.8 pips
M1512/50WMA7512.0 pips+1,701.3 pips
H110/20SMA3580.0 pips+484.8 pips
H110/20SMA3580.3 pips+377.4 pips
H110/20SMA3580.6 pips+270.0 pips
H110/20SMA3581.0 pips+126.8 pips
H110/20SMA3581.5 pips−52.2 pips
H110/20SMA3582.0 pips−231.2 pips
H450/200SMA140.0 pips+177.7 pips
H450/200SMA140.3 pips+173.6 pips
H450/200SMA140.6 pips+169.4 pips
H450/200SMA141.0 pips+163.8 pips
H450/200SMA141.5 pips+156.8 pips
H450/200SMA142.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.

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.