Join waitlist
Strategies / Trend / Parabolic SAR Trend Filter Long

Parabolic SAR Trend Filter Long

Buys when a custom Parabolic SAR is in its down state, RSI(50) is above 49, ADX(14) is above its 10-period average and Chaikin Money Flow(20) is positive. Closes the long when the SAR switches to its up state and those conditions reverse.

TrendLong onlyIntradayGold15 min
n/aProfit factor
1,571Net profit EUR
26.99%Win rate
1,382Trades
-1,097Max drawdown
1.14Avg trade

Best run of 36. Gold, 15 min, spread 0.6, from run sweeps:2026-10-11-GOLD-15m-opt.tsv:22.

Entry rules, long

  1. All four conditions must be true on the same bar.
  2. RSI(50) is above 49.
  3. ADX(14) is above its 10-period exponential average.
  4. Chaikin Money Flow over 20 bars is above zero.

Exit rules

  1. All four conditions must be true on the same bar to close the long.
  2. RSI(50) is below 49.
  3. ADX(14) is below its 10-period exponential average.
  4. Chaikin Money Flow over 20 bars is below zero.

Test conditions

PeriodUp to 2026-10-11
InstrumentGold, 15 minutes
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-11

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run15 minn/a 1,38226.991,571 EUR-1,097
USD/JPYDailyn/a 2842.86605,200 USD-316,400
USD/JPY15 minn/a 1,27031.73446,440 USD-206,720
USD/JPY30 minn/a 1,27232.00434,740 USD-242,810
USD/JPY10 minn/a 1,25533.39394,710 USD-222,060
Nikkei 2254 hoursn/a 9337.6342,278 USD-10,879
Nikkei 225Dailyn/a 1643.7531,242 USD-13,432
Nasdaq 100Dailyn/a 1080.0024,021 EUR-5,520
Nikkei 2253 minn/a 1,29130.6723,469 USD-8,830
Nikkei 2252 minn/a 1,28231.4417,624 USD-9,543
Nikkei 2251 hourn/a 39436.2917,603 USD-13,299
Dow JonesDailyn/a 966.6716,397 EUR-11,142
Nasdaq 1004 hoursn/a 8450.0015,610 EUR-5,843
Nikkei 22530 minn/a 79231.5715,320 USD-12,901
Nasdaq 1001 hourn/a 33340.5414,900 EUR-6,249
Dow Jones4 hoursn/a 5949.1514,802 EUR-7,190
Nasdaq 10030 minn/a 73736.0912,273 EUR-6,684
Nikkei 22515 minn/a 1,28732.0111,747 USD-10,932
Nasdaq 1005 minn/a 1,23132.4111,648 EUR-3,410
Nikkei 2251 minn/a 1,29829.4311,333 USD-10,244
DAX 404 hoursn/a 9338.717,889 EUR-4,896
DAX 40Dailyn/a 1442.867,073 EUR-5,511
Nasdaq 10015 minn/a 1,22433.336,544 EUR-4,905
DAX 401 hourn/a 39733.255,518 EUR-5,267
Nasdaq 1003 minn/a 1,26732.045,333 EUR-3,902
DAX 4010 minn/a 1,27830.835,066 EUR-3,690
US Crude Oil15 minn/a 1,34931.284,756 EUR-4,524
Nasdaq 1002 minn/a 1,31031.074,313 EUR-2,952
S&P 500Dailyn/a 1457.143,900 EUR-1,238
Dow Jones2 minn/a 1,38128.463,816 EUR-2,696
S&P 5004 hoursn/a 8051.253,032 EUR-1,546
S&P 5001 hourn/a 35738.662,928 EUR-1,231
GoldDailyn/a 2937.932,535 EUR-1,108
Gold4 hoursn/a 21133.182,525 EUR-1,345
Gold1 hourn/a 78332.572,396 EUR-1,537
S&P 50030 minn/a 71837.052,195 EUR-1,056

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Parabolic SAR Trend Filter Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 15 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE uptrend = -1
ONCE ep = 0
ONCE mySar = 0
ONCE af = 1.02
ONCE nextsar = 0

87 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

Parabolic SARRSIADXEMAVolume
Read this firstKnown weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 1,097 EUR is large next to the net profit of 1,571 EUR.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run Parabolic SAR Trend Filter 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 36 market and timeframe combinations. The best run by trade count was Gold, 15 minutes, with 1,382 trades.

How large was the drawdown?

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

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

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