Join waitlist
Strategies / Trend / Filtered SAR Flip With Stochastic

Filtered SAR Flip With Stochastic

Buys 1 contract when the Parabolic SAR flips below price on a down candle and any stochastic line is below 10. Sells the long on the mirrored flip when any stochastic line is above 90.

TrendLong onlyIntradayNikkei 2253 min
n/aProfit factor
18,215Net profit USD
61.90%Win rate
21Trades
-11,209Max drawdown
867Avg trade

Best run of 49. Nikkei 225, 3 min, spread 10, from run sweeps:2026-10-04-NIKKEI-3m-opt.tsv:24.

Entry rules, long

  1. One of the 2 prior bars was an up candle, with its close above its open.
  2. The current bar is a down candle, with its open above its close.
  3. At least one stochastic line (%K or %D, slow or fast) is below 10.

Exit rules

  1. One of the 2 prior bars was a down candle, with its open above its close.
  2. The current bar is an up candle, with its close above its open.
  3. At least one stochastic line (%K or %D, slow or fast) is above 90.

Test conditions

PeriodUp to 2026-10-04
InstrumentNikkei 225, 3 minutes
Spread10 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
Nikkei 225Best run3 minn/a 2161.9018,215 USD-11,209
USD/JPYDailyn/a 1100.00556,150 USD-481,360
USD/JPY1 hourn/a 977.78297,170 USD-139,100
USD/JPY30 minn/a 1560.00262,390 USD-154,050
USD/JPY3 minn/a 1384.62171,970 USD-52,810
EUR/USD15 minn/a 1952.6356,314 USD-27,439
Nikkei 22515 minn/a 1283.3336,062 USD-11,570
Nikkei 22530 minn/a 1291.6729,117 USD-11,908
Nikkei 2251 hourn/a 785.7120,081 USD-11,506
Nikkei 2254 hoursn/a 2100.0017,725 USD-3,620
Dow Jones30 minn/a 875.0017,283 EUR-5,626
Nikkei 22510 minn/a 1457.1415,728 USD-13,987
Dow Jones5 minn/a 1283.3314,901 EUR-3,848
Nikkei 2255 minn/a 1172.7312,936 USD-7,902
DAX 401 hourn/a 977.7812,152 EUR-2,878
Nasdaq 1001 hourn/a 988.8912,097 EUR-1,500
Nasdaq 1005 minn/a 1471.4310,357 EUR-3,452
Nikkei 2252 minn/a 2161.9010,327 USD-7,908
Silver5 minn/a 966.678,948 USD-3,795
DAX 404 hoursn/a 580.008,463 EUR-2,546
Nasdaq 1002 minn/a 1770.597,451 EUR-2,439
Nasdaq 10015 minn/a 1656.257,397 EUR-4,956
DAX 4015 minn/a 1369.236,812 EUR-4,531
US Crude OilDailyn/a 3100.006,735 EUR-3,837
Dow Jones2 minn/a 1376.926,292 EUR-2,753
Nasdaq 10010 minn/a 1369.235,888 EUR-5,844
DAX 405 minn/a 1080.005,800 EUR-2,624
DAX 40Dailyn/a 1100.005,519 EUR-2,421
Brent Crude30 minn/a 862.505,050 EUR-4,727
Nasdaq 1004 hoursn/a 5100.004,312 EUR-2,995
Nasdaq 1003 minn/a 1758.824,193 EUR-2,123
S&P 5001 hourn/a 887.503,899 EUR-1,190
GoldDailyn/a 1100.003,895 EUR-1,534
Silver4 hoursn/a 250.002,900 USD-2,845
FTSE 10010 minn/a 1861.112,802 EUR-1,320
S&P 50015 minn/a 1776.472,553 EUR-1,223
Brent Crude3 minn/a 1457.142,500 EUR-2,377
S&P 50010 minn/a 1764.711,909 EUR-385
Gold5 minn/a 1080.001,751 EUR-438
S&P 50030 minn/a 1181.821,663 EUR-1,045
S&P 5005 minn/a 1681.251,394 EUR-1,032
Gold15 minn/a 966.671,277 EUR-396
Dow Jones4 hoursn/a 1100.001,187 EUR-838
Gold1 hourn/a 887.50996 EUR-722
Gold10 minn/a 7100.00931 EUR-248
S&P 5002 minn/a 1163.64816 EUR-552
FTSE 1001 minn/a 1457.14528 EUR-394
Gold4 hoursn/a 250.00451 EUR-304
S&P 5001 minn/a 1250.00397 EUR-346

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Filtered SAR Flip With Stochastic
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 3 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

mySar = SAR[0.02,0.02,0.2]
hh = Highest[13](high)
ll = Lowest[13](low)
rawk = 0

35 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 SARStochastic
Read this firstKnown weaknesses4 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The best run has only 21 trades, which is a small sample to judge it on.
  • The maximum drawdown of 11,209 USD is large next to the net profit of 18,215 USD.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run Filtered SAR Flip With Stochastic 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 49 market and timeframe combinations. The best run by trade count was Nikkei 225, 3 minutes, with 21 trades.

How large was the drawdown?

The best run had a maximum drawdown of 11,209 USD at the tested position size, against a net result of 18,215 USD.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Reversal Pattern With Chaikin Volatility

Uses the same indicator.

2.26 PF · 6,872 trades

Rock Climber

Best run on the same market, Nikkei 225.

1.44 PF · 1,644 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