Join waitlist
Strategies / Mean reversion / Scored Oversold Reversal Long

Scored Oversold Reversal Long

The strategy scores oversold RSI, MACD turns, candle shape and a bullish reversal pattern, then buys 1 contract when the score reaches 13 or more. It sets a stop below the recent 11 bar low and a target 5 times that risk.

Mean reversionLong onlySwingUSD/JPYDaily
3.05Profit factor
47,870Net profit USD
42.57%Win rate
148Trades
-4,000Max drawdown
323Avg trade

Best run of 29. USD/JPY, Daily, spread 1, from run pf:2026-10-12-USDJPY-D.tsv:28.

Entry rules, long

  1. The score adds 2 when RSI(21) is below 30, 2 more below 25, and 1 when RSI is rising.
  2. It adds 1 when the MACD line (3 and 10 periods) is below 0, 2 when it is rising, and 2 when the histogram is rising.
  3. It adds 2 when the lower wick exceeds 50% of the range, 1 when the body is under 30%, and 1 for a green bar.
  4. It adds 2 when any of the last 3 highs exceeds 1.003 times the close, and 4 for a confirmed bullish reversal.
  5. A candidate bar's close is below at least 11 of the latest 12 lows, and a close above its high within 4 bars confirms it.

Exit rules

  1. The target is 5 times the stop distance above the entry price.
  2. No signal-based exit is used.

Test conditions

PeriodUp to 2026-10-12
InstrumentUSD/JPY, Daily
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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
USD/JPYBest runDaily3.05 14842.5747,870 USD-4,000
Nikkei 22515 minn/a 48320.0830,074 USD-8,504
Nikkei 22530 minn/a 59716.9217,720 USD-7,453
Nikkei 2252 minn/a 30319.8012,741 USD-4,252
Dow Jones1 hourn/a 16619.8812,690 EUR-5,723
Nikkei 22510 minn/a 44818.0812,484 USD-6,234
Nikkei 2251 hourn/a 41315.5011,321 USD-8,423
Dow JonesDailyn/a 11623.289,831 EUR-8,027
Dow Jones15 minn/a 37117.799,765 EUR-5,823
Dow Jones10 minn/a 32220.508,937 EUR-3,587
Dow Jones30 minn/a 24420.908,910 EUR-5,589
DAX 4030 minn/a 69119.398,598 EUR-5,140
Nikkei 2255 minn/a 37417.918,510 USD-8,051
Nikkei 2251 minn/a 22718.947,500 USD-5,436
US Crude OilDailyn/a 13326.327,481 EUR-3,646
DAX 401 hourn/a 47617.656,150 EUR-2,990
Dow Jones4 hoursn/a 6124.595,856 EUR-5,100
Nasdaq 1001 hourn/a 51014.515,595 EUR-5,148
Dow Jones2 minn/a 15819.624,751 EUR-3,865
DAX 4015 minn/a 49617.944,705 EUR-2,721
Dow Jones1 minn/a 12120.664,131 EUR-2,064
US Crude Oil30 minn/a 84816.983,591 EUR-2,598
S&P 5001 hourn/a 43018.142,861 EUR-819
FTSE 1001 hourn/a 46318.792,439 EUR-2,236
FTSE 10010 minn/a 29219.521,896 EUR-1,045
Gold15 minn/a 31719.561,256 EUR-429
S&P 5005 minn/a 21320.191,204 EUR-401
Gold10 minn/a 29517.971,077 EUR-590
S&P 5002 minn/a 14919.46379 EUR-367

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Scored Oversold Reversal Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE cand = 0
ONCE rlow = 0
ONCE rhigh = 0
ONCE conf = 0
ONCE ccnt = 0
ONCE tpslset = 0

myMacd = ExponentialAverage[3](close) - ExponentialAverage[10](close)
signal = ExponentialAverage[3](myMacd)
hist = myMacd - signal
myRsi = RSI[21](close)

body = ABS(close - open)
lwick = MIN(open, close) - low
tot = high - low

97 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

RSIMACD
Read this firstKnown weaknesses2 points
  • Results include the spread only. Commissions and overnight financing are not included.
  • The code is published as it was backtested and has not been compiled again since.

Questions

About this strategy

Can I run Scored Oversold Reversal 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 29 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 3.05 over 148 trades.

How large was the drawdown?

The best run had a maximum drawdown of 4,000 USD at the tested position size, against a net result of 47,870 USD.

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

EMA 8 21 RSI Filtered Bracket

Best run on the same market, USD/JPY.

1.09 PF · 6,194 trades

Buying Pressure Oscillator Long

Also a mean reversion strategy.

3.03 PF · 127 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