Join waitlist
Strategies / Momentum / EMA Cross with Oscillator Trend Long

EMA Cross with Oscillator Trend Long

The system buys when a 2-period EMA crosses above a 5-period average, with the close above it and the Awesome Oscillator rising. It sells when the EMA crosses below the average, with the close below it and the oscillator not rising.

MomentumLong onlySwingDow JonesDaily
2.80Profit factor
38,460Net profit EUR
56.00%Win rate
275Trades
-3,835Max drawdown
140Avg trade

Best run of 18. Dow Jones, Daily, spread 3, from run pf:2026-10-12-DOW30-D.tsv:2.

Entry rules, long

Exit rules

  1. The long closes when the 2-period EMA crosses below the 5-period average, the close is below it, and the Awesome Oscillator is not rising.

Test conditions

PeriodUp to 2026-10-12
InstrumentDow Jones, Daily
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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Dow JonesBest runDaily2.80 27556.0038,460 EUR-3,835
Nikkei 2254 hoursn/a 50547.7226,758 USD-13,490
Nasdaq 1001 hourn/a 2,50543.5114,218 EUR-5,311
DAX 40Dailyn/a 32648.7713,901 EUR-6,168
Dow Jones1 hourn/a 80945.3611,172 EUR-6,743
Dow Jones4 hoursn/a 21247.179,812 EUR-8,891
Nasdaq 10030 minn/a 4,35746.098,956 EUR-5,387
DAX 401 hourn/a 2,31746.488,700 EUR-5,134
Nasdaq 1004 hoursn/a 66747.988,571 EUR-3,689
Nasdaq 100Dailyn/a 19249.487,038 EUR-4,388
FTSE 100Dailyn/a 22451.794,337 EUR-2,845
FTSE 1004 hoursn/a 62245.183,318 EUR-2,346
S&P 5001 hourn/a 2,49545.013,004 EUR-1,202
S&P 500Dailyn/a 25747.082,296 EUR-807
GoldDailyn/a 27749.101,880 EUR-1,489
Gold1 hourn/a 2,57444.641,660 EUR-567
S&P 5004 hoursn/a 67147.691,634 EUR-973
Gold4 hoursn/a 64248.441,395 EUR-1,180

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// EMA Cross with Oscillator Trend Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

basis = Average[5](close)
fast = ExponentialAverage[2](close)
ao = Average[5](MedianPrice) - Average[34](MedianPrice)

13 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

EMASMAAwesome Oscillator
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run EMA Cross with Oscillator Trend 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 18 market and timeframe combinations. The best run was Dow Jones, Daily, with a profit factor of 2.80 over 275 trades.

How large was the drawdown?

The best run had a maximum drawdown of 3,835 EUR at the tested position size, against a net result of 38,460 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

Multi-Lookback Momentum Long

Also a momentum strategy.

2.80 PF · 136 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

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