Buys when the Parabolic SAR moves below the close after sitting above it on the two prior bars, with RSI(14) above 40 and ADX(14) above 18. Sells 3 bars after the first bearish SAR flip while the position is long.
Best run of 12. S&P 500, Daily, spread 1, from run pf:2026-10-12-USA500-D.tsv:28.
| Period | Up to 2026-10-13 |
| Instrument | S&P 500, Daily |
| Spread | 1 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-13 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| S&P 500Best run | Daily | 1.73 | 402 | 48.26 | 4,003 EUR | -852 |
| Dow Jones | Daily | 1.61 | 401 | 46.38 | 27,809 EUR | -3,904 |
| Silver | Daily | n/a | 262 | 46.18 | 29,899 USD | -23,166 |
| Nikkei 225 | Daily | n/a | 306 | 46.41 | 22,835 USD | -20,982 |
| Nasdaq 100 | Daily | n/a | 298 | 50.67 | 10,511 EUR | -6,011 |
| Dow Jones | 4 hours | n/a | 259 | 46.33 | 9,011 EUR | -5,930 |
| DAX 40 | 4 hours | n/a | 808 | 47.15 | 7,060 EUR | -4,069 |
| DAX 40 | Daily | n/a | 322 | 44.10 | 6,328 EUR | -4,098 |
| FTSE 100 | Daily | n/a | 282 | 51.06 | 5,125 EUR | -1,929 |
| Gold | 4 hours | n/a | 791 | 45.51 | 1,929 EUR | -1,033 |
| Gold | Daily | n/a | 298 | 47.65 | 1,828 EUR | -1,144 |
| Gold | 1 hour | n/a | 2,745 | 43.86 | 886 EUR | -854 |
Charts
Top 10 of 12 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Parabolic SAR Flip Delayed Exit // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE flipbar = -1 mySar = SAR[0.02, 0.02, 0.2] myRsi = RSI[14](close) myAdx = ADX[14]
19 more lines: the entry and exit rules.
Setup
Questions
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.
It was tested on 12 market and timeframe combinations. The best run was S&P 500, Daily, with a profit factor of 1.73 over 402 trades.
The best run had a maximum drawdown of 852 EUR at the tested position size, against a net result of 4,003 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.