Join waitlist
Strategies / Momentum / Awesome Oscillator SMA Crossover

Awesome Oscillator SMA Crossover

The strategy buys when the Awesome Oscillator crosses above zero while the 20-period SMA is above the 40-period SMA, and sells the long when the 20-period SMA crosses below the 40-period SMA.

MomentumLong onlyIntradayNasdaq 10030 min
n/aProfit factor
3,130Net profit EUR
39.67%Win rate
242Trades
-1,240Max drawdown
12.94Avg trade

Best run of 28. Nasdaq 100, 30 min, spread 3, from run sweeps:2026-10-03-NAS100-30m-opt.tsv:21.

Entry rules, long

  1. Also requires either a prior bar Awesome Oscillator cross below zero or a prior bar SMA crossover.
  2. No buy is placed while a long position is open.

Exit rules

  1. Sell the long when the 20-period SMA crosses below the 40-period SMA.

Test conditions

PeriodUp to 2026-10-03
InstrumentNasdaq 100, 30 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
Nasdaq 100Best run30 minn/a 24239.673,130 EUR-1,240
USD/JPYDailyn/a 1650.00156,970 USD-118,350
USD/JPY30 minn/a 15732.4884,390 USD-68,700
EUR/USD30 minn/a 17437.366,174 USD-3,797
Silver3 minn/a 18827.136,005 USD-4,095
Nikkei 2253 minn/a 18634.415,931 USD-2,936
SilverDailyn/a 825.005,773 USD-2,032
Dow Jones15 minn/a 13645.594,846 EUR-2,115
Nikkei 2254 hoursn/a 2035.003,706 USD-3,017
DAX 4030 minn/a 17842.132,569 EUR-762
Nasdaq 10015 minn/a 16440.852,399 EUR-1,042
Nasdaq 1004 hoursn/a 2147.621,545 EUR-608
Brent Crude3 minn/a 17932.401,395 EUR-656
Nasdaq 1005 minn/a 15937.741,367 EUR-1,056
Brent Crude15 minn/a 15641.671,145 EUR-863
FTSE 1004 hoursn/a 2458.331,053 EUR-727
Brent Crude2 minn/a 15632.05920 EUR-667
Nasdaq 1003 minn/a 17737.29890 EUR-807
GBP/USD1 hourn/a 15236.18859 USD-784
Nasdaq 1002 minn/a 17935.20750 EUR-597
S&P 50030 minn/a 22439.73544 EUR-307
Gold1 hourn/a 11237.50542 EUR-214
S&P 5004 hoursn/a 3243.75540 EUR-241
Gold15 minn/a 18837.77455 EUR-235
Gold2 minn/a 15632.05353 EUR-138
S&P 5003 minn/a 16834.52276 EUR-253
Gold10 minn/a 17632.39219 EUR-128
Gold5 minn/a 14837.16172 EUR-130

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Awesome Oscillator SMA Crossover
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long only
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

med = (high + low) / 2
ao = Average[5](med) - Average[34](med)
aoup = 0
aodown = 0

31 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

Awesome OscillatorSMA
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 Awesome Oscillator SMA Crossover 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 28 market and timeframe combinations. The best run by trade count was Nasdaq 100, 30 minutes, with 242 trades.

How large was the drawdown?

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

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

ATR Momentum

Also a momentum strategy.

n/a PF · 15,021 trades

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

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