Join waitlist
Strategies / Trend / Simple Moving Average Golden Cross

Simple Moving Average Golden Cross

Buys when the 50-period simple moving average crosses above the 200-period simple moving average, and sells when it crosses back below. It holds one contract at a time, long only.

TrendLong onlyIntradayDow Jones5 min
n/aProfit factor
9,661Net profit EUR
35.53%Win rate
653Trades
-4,704Max drawdown
14.80Avg trade

Best run of 52. Dow Jones, 5 min, spread 3, from run sweeps:2026-10-04-DOW30-5m-opt.tsv:11.

Entry rules, long

Exit rules

  1. The 50-period simple moving average crosses back below the 200-period simple moving average, closing the long

Test conditions

PeriodUp to 2026-10-04
InstrumentDow Jones, 5 minutes
Spread3 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Dow JonesBest run5 minn/a 65335.539,661 EUR-4,704
USD/JPY30 minn/a 60737.73591,700 USD-215,620
USD/JPY10 minn/a 59040.85522,080 USD-177,750
USD/JPY15 minn/a 58738.16363,970 USD-224,490
USD/JPY5 minn/a 62739.23226,720 USD-167,690
USD/JPY3 minn/a 61938.13151,120 USD-98,610
EUR/USDDailyn/a 3636.1183,476 USD-31,390
Nikkei 225Dailyn/a 3141.9446,394 USD-13,756
Nikkei 2251 hourn/a 30541.3129,225 USD-11,879
Nikkei 2254 hoursn/a 8434.5228,376 USD-11,085
Nikkei 22530 minn/a 62338.5225,230 USD-16,768
Nikkei 22515 minn/a 62538.5624,455 USD-9,991
Silver30 minn/a 63433.4422,320 USD-19,304
Nasdaq 100Dailyn/a 2962.0722,082 EUR-5,747
Dow JonesDailyn/a 4055.0022,054 EUR-9,964
Silver10 minn/a 62632.9118,355 USD-17,947
Nasdaq 1004 hoursn/a 9147.2517,130 EUR-4,661
Silver2 minn/a 62237.1415,942 USD-13,766
Dow Jones4 hoursn/a 2748.1514,742 EUR-6,728
Nikkei 22510 minn/a 63837.4614,341 USD-13,298
DAX 40Dailyn/a 3852.6313,709 EUR-6,347
Nikkei 2252 minn/a 63134.8713,255 USD-12,299
Nikkei 2251 minn/a 60535.7011,482 USD-5,039
Dow Jones1 hourn/a 13241.679,524 EUR-8,599
Nasdaq 10030 minn/a 60241.209,491 EUR-6,051
DAX 404 hoursn/a 9845.929,187 EUR-3,224
Brent Crude4 hoursn/a 4841.678,719 EUR-6,020
Nasdaq 1001 hourn/a 38841.758,633 EUR-5,143
DAX 401 hourn/a 37035.148,510 EUR-3,868
Nasdaq 10015 minn/a 58542.228,446 EUR-5,782
US Crude Oil4 hoursn/a 6743.287,082 EUR-6,357
DAX 4030 minn/a 63437.856,733 EUR-3,277
Nasdaq 1005 minn/a 64337.486,002 EUR-3,591
S&P 500Dailyn/a 3177.425,739 EUR-1,190
FTSE 100Dailyn/a 3243.755,589 EUR-2,445
DAX 405 minn/a 61338.015,093 EUR-3,138
DAX 4010 minn/a 60037.504,428 EUR-2,913
Nasdaq 1002 minn/a 59436.704,344 EUR-3,456
GoldDailyn/a 2955.174,184 EUR-1,466
Nasdaq 1003 minn/a 60836.514,103 EUR-3,593
S&P 5004 hoursn/a 8747.133,797 EUR-938
Brent Crude2 minn/a 59734.843,430 EUR-2,447
Gold1 hourn/a 35839.392,584 EUR-1,315
Gold4 hoursn/a 10440.382,571 EUR-1,073
Gold10 minn/a 61937.002,321 EUR-1,067
Gold5 minn/a 60736.572,231 EUR-690
S&P 50030 minn/a 61440.392,119 EUR-1,181
Gold15 minn/a 61036.072,052 EUR-1,120
Gold30 minn/a 61535.931,930 EUR-1,284
Gold3 minn/a 60236.381,775 EUR-495
S&P 5001 hourn/a 38639.641,739 EUR-1,136
Gold2 minn/a 63835.111,097 EUR-811

Charts

Results by run

Top 10 of 52 runs. The full list is in the table above.

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Simple Moving Average Golden Cross
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 5 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

smaa = Average[50](close)
smab = Average[200](close)

9 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Indicators used

SMA
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run Simple Moving Average Golden Cross in ProOrder?

Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.

Which markets was it tested on?

It was tested on 52 market and timeframe combinations. The best run by trade count was Dow Jones, 5 minutes, with 653 trades.

How large was the drawdown?

The best run had a maximum drawdown of 4,704 EUR at the tested position size, against a net result of 9,661 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

Turtle Trade

Best run on the same market, Dow Jones.

2.42 PF · 6,324 trades

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

Copy trading on US indices is available to ProRealAlgos members as spots open.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs