Join waitlist
Strategies / Mean reversion / Short Term RSI Pullback Long Short

Short Term RSI Pullback Long Short

It buys when the 2 period RSI is below 10 with the close above its 200 period average, and sells short when it is above 90 with the close below. Longs close above the 5 period average, shorts below it.

Mean reversionLong & shortSwingUS Crude OilDaily
1.33Profit factor
21,170Net profit EUR
64.30%Win rate
493Trades
-9,391Max drawdown
42.94Avg trade

Best run of 1. US Crude Oil, Daily, spread 5, from run pf:2026-10-10-CRUDE-D.tsv:17.

Entry rules, long

  1. The close is above its 200 period simple moving average and the 2 period RSI is below 10.

Entry rules, short

  1. The close is below its 200 period simple moving average and the 2 period RSI is above 90.

Exit rules

  1. The close is below its 5 period simple moving average, closing the short.

Test conditions

PeriodUp to 2026-10-10
InstrumentUS Crude Oil, Daily
Spread5 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-10

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
US Crude OilBest runDaily1.33 49364.3021,170 EUR-9,391

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Short Term RSI Pullback Long Short
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long & short
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false
ONCE capital = 10000

26 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

RSISMA
Read this firstKnown weaknesses2 points
  • It was only tested on US Crude Oil, so there is no evidence from other markets.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run Short Term RSI Pullback Long Short 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 one combination, US Crude Oil, Daily, with a profit factor of 1.33 over 493 trades.

How large was the drawdown?

The best run had a maximum drawdown of 9,391 EUR at the tested position size, against a net result of 21,170 EUR.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

Pathfinder

Best run on the same market, US Crude Oil.

1.24 PF · 430 trades

Winning Market Declines

Also a mean reversion strategy.

1.33 PF · 1,130 trades

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

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