Join waitlist
Strategies / Trend / Trend Flip RSI Reversal

Trend Flip RSI Reversal

Goes short when the trend line flips down after a breakout above the 50-bar high, with RSI(14) above 70 in the last 10 bars. Goes long on the mirror flip up after a breakdown below the 50-bar low, with RSI below 30.

TrendLong & shortSwingGBP/USD1 hour
1.22Profit factor
15,109Net profit USD
52.29%Win rate
1,046Trades
-2,552Max drawdown
14.44Avg trade

Best run of 7. GBP/USD, 1 hour, spread 1.5, from run pf:2026-10-04-GBPUSD-1h.tsv:2.

Entry rules, long

  1. A breakdown below the 50-bar low has occurred during the current downtrend.
  2. RSI(14) was below 30 within the last 10 bars.

Entry rules, short

  1. A breakout above the 50-bar high has occurred during the current uptrend.
  2. RSI(14) was above 70 within the last 10 bars.

Exit rules

  1. A 1.0% stop loss and 1.5% profit target apply from the fill price.

Test conditions

PeriodUp to 2026-10-04
InstrumentGBP/USD, 1 hour
Spread1.5 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
GBP/USDBest run1 hour1.22 1,04652.2915,109 USD-2,552
Nikkei 22510 minn/a 1,48251.6222,331 USD-18,072
DAX 4030 minn/a 1,59347.4611,365 EUR-2,996
DAX 401 hourn/a 1,05744.849,826 EUR-3,486
FTSE 1005 minn/a 1,06360.112,236 EUR-1,422
S&P 50030 minn/a 1,44049.311,737 EUR-903
FTSE 1003 minn/a 99758.581,461 EUR-1,460

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Trend Flip RSI Reversal
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE up = 0
ONCE dn = 0
ONCE trend = 1
ONCE hiactive = 0
ONCE loactive = 0
ONCE tsw = 0
ONCE bsw = 0

myRsi = RSI[14](close)
myAtr = AverageTrueRange[10](close)
basedn = MedianPrice - 2.0 * myAtr
baseup = MedianPrice + 2.0 * myAtr

prevup = up
prevdn = dn

71 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

SuperTrendATRRSIDonchian Channel
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 Trend Flip RSI Reversal 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 7 market and timeframe combinations. The best run was GBP/USD, 1 hour, with a profit factor of 1.22 over 1,046 trades.

How large was the drawdown?

The best run had a maximum drawdown of 2,552 USD at the tested position size, against a net result of 15,109 USD.

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

Color Code Candle Flip

Best run on the same market, GBP/USD.

1.56 PF · 3,285 trades

EMA 20/50 Cross

Also a trend strategy.

1.22 PF · 1,288 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

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