Join waitlist
Strategies / Trend / Supertrend Pullback Continuation

Supertrend Pullback Continuation

Buys a pullback inside a Supertrend uptrend when price resumes above the prior high and trend and momentum filters agree. Sells short on the mirror setup, with each trade capped by a 1% stop and a 2% target.

TrendLong & shortSwingNasdaq 1001 hour
1.69Profit factor
5,601Net profit EUR
37.31%Win rate
201Trades
-967Max drawdown
27.87Avg trade

Best run of 43. Nasdaq 100, 1 hour, spread 3, from run pf:2026-10-12-NAS100-1h.tsv:7.

Entry rules, long

  1. The previous bar's low dipped below the Supertrend line, and the bar before that was at or above it.
  2. The current high is above the previous high.
  3. RSI(14) is at least 50, and the close is above EMA(200).
  4. MACD(12, 26) line is above 0, and CCI(20) is above 200.

Entry rules, short

  1. The previous bar's high rose above the Supertrend line, and the bar before that was at or below it.
  2. The current low is below the previous low.
  3. RSI(14) is at most 50, and the close is below EMA(200).
  4. MACD(12, 26) line is below 0, and CCI(20) is below -200.

Exit rules

  1. Each trade has a 2% profit target from the entry price.

Test conditions

PeriodUp to 2026-10-12
InstrumentNasdaq 100, 1 hour
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
Nasdaq 100Best run1 hour1.69 20137.315,601 EUR-967
USD/JPY15 min1.64 10045.00484,990 USD-110,400
S&P 50010 min1.57 12344.722,061 EUR-433
Nasdaq 10015 min1.48 21844.509,410 EUR-1,810
Nasdaq 10010 min1.39 17241.287,142 EUR-1,659
USD/JPY10 minn/a 10045.00476,090 USD-123,860
USD/JPY5 minn/a 5742.11196,830 USD-91,010
USD/JPY3 minn/a 3844.74171,020 USD-101,260
USD/JPY2 minn/a 2445.83111,930 USD-83,720
EUR/USD1 hourn/a 16436.5916,351 USD-14,434
Nikkei 22510 minn/a 21137.9112,614 USD-5,989
Nikkei 22530 minn/a 24740.0810,277 USD-5,531
Dow Jones15 minn/a 14739.469,815 EUR-2,907
Nikkei 2251 hourn/a 10744.867,079 USD-2,994
Silver5 minn/a 11742.746,870 USD-4,754
Dow Jones3 minn/a 7238.895,180 EUR-3,990
EUR/USDDailyn/a 2100.005,032 USD-1,355
DAX 405 minn/a 10441.354,921 EUR-1,672
Dow Jones1 minn/a 3145.164,851 EUR-3,320
Dow Jones1 hourn/a 5143.144,835 EUR-2,202
Nasdaq 10030 minn/a 28440.854,639 EUR-4,481
Nasdaq 1003 minn/a 10140.594,464 EUR-3,792
Silver2 minn/a 11737.614,457 USD-4,130
Nasdaq 1005 minn/a 12238.523,453 EUR-3,196
Nasdaq 1001 minn/a 6341.273,298 EUR-2,686
Nikkei 2254 hoursn/a 1464.293,160 USD-1,213
GBP/USD1 hourn/a 13037.692,650 USD-2,625
Brent Crude2 minn/a 14040.002,446 EUR-967
DAX 403 minn/a 8938.202,434 EUR-2,137
Brent Crude5 minn/a 14940.272,387 EUR-637
Brent Crude3 minn/a 15338.562,033 EUR-863
Gold3 minn/a 8050.001,537 EUR-290
Gold5 minn/a 8948.311,262 EUR-628
Silver4 hoursn/a 3447.061,015 USD-660
S&P 5005 minn/a 9239.13810 EUR-744
Gold10 minn/a 12539.20724 EUR-599
Gold15 minn/a 14240.14632 EUR-499
Gold1 hourn/a 18539.46506 EUR-270
US Crude OilDailyn/a 560.00429 EUR-71.90
Gold4 hoursn/a 3946.15307 EUR-96.10
FTSE 100Dailyn/a 3100.00130 EUR-0.00
Dow JonesDailyn/a 1100.0061.10 EUR-0.00
DAX 40Dailyn/a 540.0045.50 EUR-20.50

Charts

Results by run

Top 10 of 43 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

// ==============================================================
// Supertrend Pullback Continuation
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE lowerband = 0
ONCE upperband = 0
ONCE st = 0
ONCE dir = 1

myAtr = AverageTrueRange[10](close)
lowraw = MedianPrice - 3.0 * myAtr
upraw = MedianPrice + 3.0 * myAtr
prevlower = lowerband
prevupper = upperband
prevst = st

58 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

SuperTrendATREMARSIMACDCCI
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 Supertrend Pullback Continuation 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 43 market and timeframe combinations. The best run was Nasdaq 100, 1 hour, with a profit factor of 1.69 over 201 trades.

How large was the drawdown?

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

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

Dual Supertrend Cloud Crossover

Also a trend strategy.

1.69 PF · 370 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