Join waitlist
Strategies / Trend / Triple SuperTrend Stochastic RSI Long

Triple SuperTrend Stochastic RSI Long

The strategy buys when at least two of three SuperTrend bands point up, the Stochastic RSI is below 0.8, and the close is above the 90-period EMA. It sells when the SuperTrend sum falls below 1 and the Stochastic RSI is above 0.2.

TrendLong onlySwingGold4 hours
1.96Profit factor
3,622Net profit EUR
38.65%Win rate
282Trades
-675Max drawdown
12.84Avg trade

Best run of 34. Gold, 4 hours, spread 0.6, from run pf:2026-10-05-GOLD-4h.tsv:7.

Entry rules, long

  1. The Stochastic RSI, built on RSI(14) over a 14-bar range, is below 0.8.
  2. The close is above the 90-period EMA.
  3. Volume is above zero.

Exit rules

  1. The SuperTrend direction sum falls below 1 while the Stochastic RSI is above 0.2.

Test conditions

PeriodUp to 2026-10-05
InstrumentGold, 4 hours
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-05

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run4 hours1.96 28238.653,622 EUR-675
USD/JPYDailyn/a 4753.19645,720 USD-194,590
USD/JPY1 hourn/a 1,17438.59577,990 USD-237,340
USD/JPY30 minn/a 1,64837.62406,560 USD-243,850
USD/JPY10 minn/a 1,75538.06325,490 USD-178,350
USD/JPY15 minn/a 1,73938.01223,010 USD-205,890
USD/JPY5 minn/a 1,81136.06121,840 USD-111,700
Nikkei 225Dailyn/a 3638.8923,241 USD-10,284
Silver30 minn/a 1,64933.6022,547 USD-14,947
Nikkei 2251 hourn/a 59638.9320,972 USD-12,324
Nikkei 2254 hoursn/a 16037.5020,517 USD-9,314
Nikkei 2252 minn/a 1,81336.9615,016 USD-8,725
Nasdaq 100Dailyn/a 3551.4313,948 EUR-3,668
Dow Jones15 minn/a 1,45037.6612,261 EUR-8,910
Nikkei 22515 minn/a 1,88335.4211,472 USD-10,446
DAX 401 hourn/a 56739.5110,084 EUR-3,573
Nasdaq 10010 minn/a 1,75637.369,487 EUR-4,346
Dow Jones5 minn/a 1,76436.059,074 EUR-4,880
Nasdaq 10030 minn/a 1,16139.198,129 EUR-5,673
Nasdaq 1004 hoursn/a 17845.516,748 EUR-4,688
Dow JonesDailyn/a 2245.456,735 EUR-4,839
DAX 4015 minn/a 1,77637.226,703 EUR-4,007
Nasdaq 1001 hourn/a 60140.275,515 EUR-4,966
Nasdaq 10015 minn/a 1,83137.585,341 EUR-3,709
Nasdaq 1005 minn/a 1,75137.525,160 EUR-4,687
DAX 40Dailyn/a 3351.524,970 EUR-3,805
Gold1 hourn/a 1,00837.802,972 EUR-889
S&P 5004 hoursn/a 16448.172,552 EUR-1,126
GoldDailyn/a 4358.142,331 EUR-1,206
S&P 500Dailyn/a 3748.652,004 EUR-1,158
Gold15 minn/a 1,72833.681,999 EUR-846
Gold30 minn/a 1,64535.621,563 EUR-1,212
Gold10 minn/a 1,77234.711,421 EUR-657
S&P 5005 minn/a 1,79336.531,359 EUR-802

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Triple SuperTrend Stochastic RSI Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE dira = 1
ONCE upa = 0
ONCE loa = 0
ONCE dirb = 1
ONCE upb = 0
ONCE lob = 0
ONCE dirc = 1
ONCE upc = 0
ONCE loc = 0

hl = (high + low) / 2

atra = AverageTrueRange[20](close)
upa = hl + 3 * atra
loa = hl - 3 * atra

68 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

SuperTrendATREMARSIStochasticVolume
Longer historyRe-run on up to 1,000,000 barsGold · 4 hours · older data 0.00 EUR

Gold had no history beyond the standard run, so both runs used 30,000 bars.

Gold · 4 hours

Bars available30,000
Net, standard 200,000-bar run3,621.50 EUR
Net, long run3,621.50 EUR
Net on the older data alone0.00 EUR
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 Triple SuperTrend Stochastic RSI 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 34 market and timeframe combinations. The best run was Gold, 4 hours, with a profit factor of 1.96 over 282 trades.

How large was the drawdown?

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

CCI Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

Seasonal Trend Filter (long only)

Also a trend strategy.

1.96 PF · 78 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