Join waitlist
Strategies / Momentum / RSI Extended Streak Entry

RSI Extended Streak Entry

Buys when the 21-period RSI has stayed above 60 for 15 consecutive bars, and sells short when it has stayed below 40 for 15 bars. Each trade has a stop 3 ATR(14) from entry and a target twice that distance.

MomentumLong & shortIntradayGold15 min
1.23Profit factor
1,685Net profit EUR
34.38%Win rate
954Trades
-418Max drawdown
1.77Avg trade

Best run of 18. Gold, 15 min, spread 0.6, from run pf:2026-10-12-GOLD-15m.tsv:4.

Entry rules, long

  1. No position is open.

Entry rules, short

  1. No position is open.

Exit rules

  1. A profit target sits at 2 times the stop distance from the entry price.

Test conditions

PeriodUp to 2026-10-12
InstrumentGold, 15 minutes
Spread0.6 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
GoldBest run15 min1.23 95434.381,685 EUR-418
Nikkei 225Dailyn/a 6150.8223,981 USD-6,751
Silver5 minn/a 77430.8818,622 USD-6,518
Silver1 hourn/a 73233.4717,395 USD-14,435
Silver3 minn/a 74530.8716,743 USD-11,549
Dow Jones30 minn/a 49537.9816,720 EUR-4,620
SilverDailyn/a 6536.9214,558 USD-9,568
Nasdaq 10015 minn/a 1,14436.1910,111 EUR-4,443
Nasdaq 100Dailyn/a 8139.519,085 EUR-1,980
Nasdaq 10010 minn/a 1,02236.897,965 EUR-4,034
Nikkei 2253 minn/a 91333.635,632 USD-5,562
Dow Jones10 minn/a 94533.445,375 EUR-4,982
Gold1 hourn/a 85036.352,314 EUR-603
S&P 50015 minn/a 1,07935.031,591 EUR-732
S&P 50010 minn/a 1,00036.101,043 EUR-800
S&P 500Dailyn/a 9942.42983 EUR-735
Gold30 minn/a 1,09534.43934 EUR-696
GoldDailyn/a 7935.44671 EUR-454

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

// ==============================================================
// RSI Extended Streak Entry
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long & short
// Timeframe tested: 15 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

myRsi = RSI[21](close)

28 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

RSIATR
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 RSI Extended Streak Entry 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 Gold, 15 minutes, with a profit factor of 1.23 over 954 trades.

How large was the drawdown?

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

CCI Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

Reversal Pattern With Dynamic Momentum Index

Also a momentum strategy.

1.23 PF · 1,206 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