Join waitlist
Strategies / Trend / Filtered EMA Golden Cross Long

Filtered EMA Golden Cross Long

The strategy buys after the 50-period EMA rises above the 200-period EMA, when that crossover is recent and the gap between them exceeds 0.35% of price. It exits on a death cross or a 10% stop loss.

TrendLong onlyIntradaySilver30 min
n/aProfit factor
21,498Net profit USD
32.40%Win rate
392Trades
-18,539Max drawdown
54.84Avg trade

Best run of 45. Silver, 30 min, spread 2, from run sweeps:2026-10-04-SILVER-30m-opt.tsv:29.

Entry rules, long

  1. The gap between the two EMAs is more than 0.35% of the 200-period EMA.
  2. The 200-period EMA is not lower than it was 5 bars ago.
  3. When flat and all these conditions hold, one contract is bought at market.

Exit rules

  1. A stop loss is set 10% below the entry price.

Test conditions

PeriodUp to 2026-10-04
InstrumentSilver, 30 minutes
Spread2 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
SilverBest run30 minn/a 39232.4021,498 USD-18,539
USD/JPY1 hourn/a 15539.35368,900 USD-151,920
EUR/USDDailyn/a 2544.0070,880 USD-33,180
Nikkei 225Dailyn/a 2646.1548,566 USD-11,861
Nasdaq 100Dailyn/a 2462.5029,178 EUR-3,269
Nikkei 2251 hourn/a 20938.2825,842 USD-7,741
Nikkei 2254 hoursn/a 7034.2924,582 USD-13,145
Dow JonesDailyn/a 3548.5724,560 EUR-7,735
Nikkei 22515 minn/a 25939.7717,396 USD-9,540
Nasdaq 1004 hoursn/a 7846.1517,336 EUR-4,144
DAX 40Dailyn/a 3450.0016,713 EUR-5,668
Dow Jones4 hoursn/a 2240.9115,719 EUR-4,723
Dow Jones30 minn/a 11047.2714,106 EUR-4,441
Nikkei 22510 minn/a 21943.3812,365 USD-7,968
Nasdaq 1001 hourn/a 26342.5912,228 EUR-4,226
Nasdaq 10030 minn/a 34044.4111,698 EUR-4,060
DAX 401 hourn/a 24138.179,961 EUR-3,716
DAX 404 hoursn/a 7941.777,355 EUR-3,714
DAX 4030 minn/a 33037.886,647 EUR-3,944
Dow Jones15 minn/a 14738.106,412 EUR-4,655
Nasdaq 10010 minn/a 19946.236,355 EUR-3,413
S&P 500Dailyn/a 2568.006,333 EUR-1,049
Nasdaq 1005 minn/a 10845.376,036 EUR-1,756
Nasdaq 10015 minn/a 25641.805,656 EUR-4,421
FTSE 100Dailyn/a 2846.435,081 EUR-2,302
S&P 5004 hoursn/a 7050.004,174 EUR-518
GoldDailyn/a 2744.444,034 EUR-1,466
DAX 4015 minn/a 20641.753,299 EUR-3,162
Nasdaq 1003 minn/a 6939.133,149 EUR-1,607
Gold4 hoursn/a 7342.472,854 EUR-962
S&P 50030 minn/a 28448.242,777 EUR-923
DAX 403 minn/a 4452.272,763 EUR-1,965
Brent Crude1 minn/a 14042.141,764 EUR-1,635
FTSE 10030 minn/a 26237.401,745 EUR-1,628
DAX 402 minn/a 2050.001,582 EUR-946
S&P 5001 hourn/a 23740.931,524 EUR-1,083
Gold15 minn/a 16840.481,430 EUR-886
Gold30 minn/a 27537.451,259 EUR-949
Gold10 minn/a 14037.861,200 EUR-658
Nasdaq 1001 minn/a 2250.001,162 EUR-632
S&P 50015 minn/a 19043.681,127 EUR-1,049
S&P 50010 minn/a 13147.331,016 EUR-681
S&P 5005 minn/a 5940.68827 EUR-386
Gold3 minn/a 7742.86794 EUR-295
Gold1 minn/a 2850.00189 EUR-169

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Filtered EMA Golden Cross Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE lastcross = -1

fast = ExponentialAverage[50](close)
slow = ExponentialAverage[200](close)

22 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

EMA
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 18,539 USD is large next to the net profit of 21,498 USD.

Questions

About this strategy

Can I run Filtered EMA Golden Cross Long 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 45 market and timeframe combinations. The best run by trade count was Silver, 30 minutes, with 392 trades.

How large was the drawdown?

The best run had a maximum drawdown of 18,539 USD at the tested position size, against a net result of 21,498 USD.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Reversal Pattern With Chaikin Volatility

Uses the same indicator.

2.26 PF · 6,872 trades

SMA Crossover With RSI Exit

Best run on the same market, Silver.

2.13 PF · 8,999 trades

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

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