Join waitlist
Strategies / Momentum / Awesome Oscillator MACD Crossover

Awesome Oscillator MACD Crossover

The strategy buys when the Awesome Oscillator crosses above zero on a bar that follows a downward cross, with the MACD histogram above zero. It sells the long when the reverse sequence occurs with the histogram below zero.

MomentumLong onlyIntradayS&P 50030 min
n/aProfit factor
3,315Net profit EUR
51.49%Win rate
101Trades
-1,245Max drawdown
32.82Avg trade

Best run of 50. S&P 500, 30 min, spread 1, from run sweeps:2026-10-03-USA500-30m-opt.tsv:17.

Entry rules, long

  1. No buy is placed while a long position is open.

Exit rules

  1. Sell the long when the Awesome Oscillator crosses below zero, it crossed above zero on the prior bar, and the MACD(5,7,4) histogram is below 0.

Test conditions

PeriodUp to 2026-10-03
InstrumentS&P 500, 30 minutes
Spread1 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
S&P 500Best run30 minn/a 10151.493,315 EUR-1,245
USD/JPY15 minn/a 7261.11474,340 USD-241,750
USD/JPY4 hoursn/a 955.56448,140 USD-294,140
USD/JPY10 minn/a 7252.78273,890 USD-151,100
Nikkei 225Dailyn/a 450.0054,115 USD-13,225
Dow JonesDailyn/a 683.3341,861 EUR-11,142
Silver30 minn/a 8151.8540,327 USD-17,033
Nikkei 2251 hourn/a 3262.5032,992 USD-13,698
Nikkei 22515 minn/a 6360.3231,398 USD-8,525
Silver2 minn/a 6960.8726,728 USD-6,652
Nasdaq 100Dailyn/a 366.6726,726 EUR-5,914
Nikkei 2254 hoursn/a 757.1423,879 USD-11,811
Nikkei 2253 minn/a 7545.3321,816 USD-9,727
Nikkei 22530 minn/a 7949.3720,274 USD-10,905
Dow Jones30 minn/a 3764.8617,607 EUR-4,863
Nasdaq 10030 minn/a 8962.9217,340 EUR-4,184
Dow Jones4 hoursn/a 3100.0015,758 EUR-5,533
Nasdaq 10015 minn/a 7459.4613,645 EUR-5,818
Dow Jones1 hourn/a 1154.5513,001 EUR-8,318
Nikkei 2255 minn/a 7051.4312,893 USD-10,547
Nasdaq 1004 hoursn/a 887.5011,323 EUR-3,123
DAX 4030 minn/a 7464.8611,225 EUR-3,763
DAX 404 hoursn/a 875.0010,948 EUR-4,511
DAX 401 hourn/a 3964.1010,796 EUR-5,810
DAX 4015 minn/a 6547.6910,583 EUR-4,033
Nikkei 2251 minn/a 7152.1110,553 USD-7,021
Brent Crude30 minn/a 4652.179,990 EUR-5,343
US Crude Oil15 minn/a 7149.307,171 EUR-3,523
Dow Jones2 minn/a 9552.636,423 EUR-2,901
DAX 405 minn/a 7054.296,388 EUR-2,690
Brent Crude2 minn/a 6755.226,063 EUR-3,460
FTSE 1004 hoursn/a 1080.005,973 EUR-3,026
DAX 4010 minn/a 6650.005,613 EUR-3,645
Nasdaq 1003 minn/a 6459.384,953 EUR-3,636
FTSE 100Dailyn/a 757.144,305 EUR-3,735
Brent Crude3 minn/a 6952.173,817 EUR-3,480
S&P 50015 minn/a 5858.623,518 EUR-1,585
Nasdaq 1005 minn/a 6555.383,303 EUR-3,249
GoldDailyn/a 3100.003,106 EUR-1,534
Gold4 hoursn/a 1070.002,782 EUR-1,586
S&P 5001 hourn/a 3661.112,453 EUR-756
S&P 500Dailyn/a 5100.002,333 EUR-1,190
Gold10 minn/a 7652.632,199 EUR-1,400
S&P 5004 hoursn/a 1384.622,183 EUR-1,495
Gold1 hourn/a 3847.371,766 EUR-760
S&P 5005 minn/a 7163.381,660 EUR-333
FTSE 10010 minn/a 6254.841,570 EUR-919
S&P 50010 minn/a 6147.541,020 EUR-999
FTSE 1002 minn/a 8247.56817 EUR-556
S&P 5001 minn/a 6845.59493 EUR-350

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Awesome Oscillator MACD 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)

16 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 OscillatorMACD
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 MACD 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 50 market and timeframe combinations. The best run by trade count was S&P 500, 30 minutes, with 101 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,245 EUR at the tested position size, against a net result of 3,315 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Slow MACD Slope

Uses the same indicator.

6.80 PF · 7,305 trades

CCI Sign With EMA Alignment

Best run on the same market, S&P 500.

1.23 PF · 1,253 trades

ATR Momentum

Also a momentum strategy.

n/a PF · 15,021 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