Join waitlist
Strategies / Trend / Wide Band Supertrend Long Only

Wide Band Supertrend Long Only

Buys when a wide Supertrend (ATR 4, factor 22) flips from a downtrend to an uptrend. Closes the long when the line flips back to a downtrend.

TrendLong onlyIntradayNasdaq 10030 min
1.84Profit factor
19,088Net profit EUR
45.74%Win rate
352Trades
-2,164Max drawdown
54.23Avg trade

Best run of 46. Nasdaq 100, 30 min, spread 3, from run pf:2026-10-12-NAS100-30m.tsv:1.

Entry rules, long

  1. No long position is already open.

Exit rules

  1. The Supertrend flips from an uptrend back to a downtrend, closing the long.

Test conditions

PeriodUp to 2026-10-12
InstrumentNasdaq 100, 30 minutes
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 run30 min1.84 35245.7419,088 EUR-2,164
Nasdaq 1001 hour1.76 21543.7213,908 EUR-3,106
S&P 50030 min1.66 31345.693,878 EUR-541
USD/JPY15 minn/a 24547.35472,100 USD-121,550
USD/JPY10 minn/a 27543.64417,840 USD-148,170
USD/JPY1 hourn/a 13641.91403,630 USD-327,020
USD/JPY3 minn/a 24841.94114,290 USD-63,430
Silver30 minn/a 21641.2035,816 USD-21,396
Nikkei 225Dailyn/a 1457.1435,404 USD-16,447
Nikkei 2254 hoursn/a 2147.6234,125 USD-11,006
Silver15 minn/a 21638.4332,211 USD-8,632
EUR/USD4 hoursn/a 3240.6229,689 USD-29,656
Nikkei 22530 minn/a 28343.1125,472 USD-8,195
Nikkei 22515 minn/a 35843.5823,386 USD-10,610
Nikkei 2251 hourn/a 12046.6723,127 USD-8,544
Silver5 minn/a 21944.2915,847 USD-13,970
Dow JonesDailyn/a 1060.0014,460 EUR-12,225
Dow Jones15 minn/a 27843.8814,004 EUR-7,050
Nasdaq 100Dailyn/a 1361.5412,943 EUR-7,989
Nasdaq 1004 hoursn/a 3956.4110,435 EUR-3,908
Nasdaq 10015 minn/a 35543.6610,186 EUR-3,276
Dow Jones30 minn/a 13739.429,634 EUR-5,750
Nasdaq 10010 minn/a 37243.829,132 EUR-4,317
DAX 401 hourn/a 17846.078,451 EUR-3,120
DAX 4030 minn/a 41239.086,519 EUR-4,040
Nasdaq 1005 minn/a 35641.855,247 EUR-3,371
DAX 4015 minn/a 37039.734,939 EUR-3,414
FTSE 100Dailyn/a 1050.004,659 EUR-3,247
Dow Jones3 minn/a 31336.744,563 EUR-4,390
DAX 405 minn/a 35340.234,547 EUR-2,748
S&P 500Dailyn/a 1376.924,310 EUR-825
GoldDailyn/a 955.563,934 EUR-1,534
DAX 4010 minn/a 39441.123,921 EUR-2,986
Gold15 minn/a 22142.992,567 EUR-843
S&P 5001 hourn/a 18845.212,261 EUR-801
Gold4 hoursn/a 2937.932,175 EUR-1,504
S&P 50015 minn/a 32744.952,131 EUR-854
Gold3 minn/a 16543.641,907 EUR-568
Gold1 hourn/a 13336.841,880 EUR-1,234
Gold30 minn/a 22837.281,861 EUR-1,443
Gold2 minn/a 14741.501,842 EUR-609
Gold10 minn/a 22745.371,834 EUR-1,219
S&P 5004 hoursn/a 3557.141,790 EUR-1,003
S&P 5005 minn/a 34143.111,475 EUR-587
Gold5 minn/a 20745.891,337 EUR-855
S&P 50010 minn/a 36243.09952 EUR-901

Charts

Results by run

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

// ==============================================================
// Wide Band Supertrend Long Only
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE lo = 0
ONCE hi = 0
ONCE dir = 1
ONCE st = 0

myAtr = AverageTrueRange[4](close)
basiclo = MedianPrice - 22 * myAtr
basichi = MedianPrice + 22 * myAtr
prevlo = lo
prevhi = hi
prevst = st
prevdir = dir

46 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

SuperTrendATR
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 Wide Band Supertrend Long Only 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 46 market and timeframe combinations. The best run was Nasdaq 100, 30 minutes, with a profit factor of 1.84 over 352 trades.

How large was the drawdown?

The best run had a maximum drawdown of 2,164 EUR at the tested position size, against a net result of 19,088 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

KDJ J Line Momentum Long

Uses the same indicator.

4.17 PF · 6,135 trades

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

SMA 50 Crossover Long

Also a trend strategy.

1.84 PF · 386 trades

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

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