Join waitlist
Strategies / Mean reversion / RSI Pullback Trailing Stop Long

RSI Pullback Trailing Stop Long

The system buys when RSI(14) is at or below 40 and RSI(10) is below RSI(14). It exits when close falls to a trailing level set 2 times ATR(26) below the close, which only rises, or on an overbought RSI signal.

Mean reversionLong onlySwingDow JonesDaily
1.69Profit factor
45,257Net profit EUR
44.03%Win rate
402Trades
-8,213Max drawdown
113Avg trade

Best run of 11. Dow Jones, Daily, spread 3, from run pf:2026-10-12-DOW30-D.tsv:16.

Entry rules, long

  1. RSI(10) is below RSI(14).
  2. No long position is already open.

Exit rules

  1. The trail distance is fixed at entry as 2 times ATR(26), with the level starting at the signal close minus that distance.
  2. A long also closes when RSI(14) reaches 70, RSI(10) is above RSI(14), and low is above entry price plus 3 times 2 times ATR(26).

Test conditions

PeriodUp to 2026-10-12
InstrumentDow Jones, Daily
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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Dow JonesBest runDaily1.69 40244.0345,257 EUR-8,213
S&P 500Daily1.65 44543.605,325 EUR-942
Nasdaq 1004 hours1.30 99539.7018,663 EUR-4,120
Dow Jones30 minn/a 2,46838.2920,820 EUR-8,170
DAX 40Dailyn/a 56337.8317,240 EUR-5,444
DAX 404 hoursn/a 97940.2511,972 EUR-4,684
Dow Jones1 hourn/a 1,28738.2311,267 EUR-9,555
Nasdaq 100Dailyn/a 31638.299,861 EUR-6,685
FTSE 100Dailyn/a 36842.939,837 EUR-4,133
Nasdaq 1001 hourn/a 3,70036.089,197 EUR-6,913
S&P 5004 hoursn/a 99039.091,926 EUR-1,328

Charts

Results by run

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

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// RSI Pullback Trailing Stop Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE entryprice = 0
ONCE trailbuf = 0
ONCE stoplevel = 0

atrbuf = AverageTrueRange[26](close) * 2
rrbuf = atrbuf * 3
rsifourteen = RSI[14](close)
rsiten = RSI[10](close)

stoplevel = max(stoplevel, close - trailbuf)
IF NOT LongOnMarket THEN
    stoplevel = close - trailbuf
ENDIF

19 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
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run RSI Pullback Trailing Stop 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 11 market and timeframe combinations. The best run was Dow Jones, Daily, with a profit factor of 1.69 over 402 trades.

How large was the drawdown?

The best run had a maximum drawdown of 8,213 EUR at the tested position size, against a net result of 45,257 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

Turtle Trade

Best run on the same market, Dow Jones.

2.42 PF · 6,324 trades

ATR Band Mean Reversion (long only)

Also a mean reversion strategy.

1.68 PF · 137 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