Buys when close crosses under the 20-period SMA while Aroon up (288 bars) is above 90, which means a high was set recently. Closes the long when close crosses under the upper Bollinger Band or Aroon up falls below 70.
Best run of 20. S&P 500, Daily, spread 1, from run pf:2026-10-12-USA500-D.tsv:7.
| Period | Up to 2026-10-12 |
| 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| S&P 500Best run | Daily | 4.08 | 174 | 82.76 | 5,028 EUR | -1,256 |
| USD/JPY | 5 min | n/a | 1,140 | 62.72 | 92,980 USD | -88,590 |
| Nikkei 225 | Daily | n/a | 86 | 74.42 | 38,913 USD | -11,901 |
| Dow Jones | Daily | n/a | 164 | 78.66 | 30,685 EUR | -10,760 |
| Nasdaq 100 | Daily | n/a | 127 | 79.53 | 16,191 EUR | -5,037 |
| DAX 40 | Daily | n/a | 135 | 76.30 | 14,259 EUR | -5,511 |
| Nasdaq 100 | 4 hours | n/a | 328 | 75.00 | 10,848 EUR | -3,006 |
| Silver | 10 min | n/a | 1,054 | 59.11 | 8,981 USD | -5,738 |
| Nasdaq 100 | 1 hour | n/a | 1,097 | 66.73 | 8,435 EUR | -2,391 |
| Dow Jones | 4 hours | n/a | 87 | 71.26 | 7,496 EUR | -4,947 |
| Dow Jones | 1 hour | n/a | 317 | 66.25 | 6,828 EUR | -3,351 |
| FTSE 100 | Daily | n/a | 107 | 75.70 | 6,603 EUR | -1,676 |
| Nikkei 225 | 30 min | n/a | 1,207 | 64.21 | 6,396 USD | -6,244 |
| US Crude Oil | 4 hours | n/a | 133 | 70.68 | 4,515 EUR | -4,057 |
| Nasdaq 100 | 30 min | n/a | 1,558 | 64.25 | 4,114 EUR | -2,501 |
| Gold | Daily | n/a | 84 | 72.62 | 3,720 EUR | -397 |
| FTSE 100 | 4 hours | n/a | 209 | 66.51 | 3,032 EUR | -1,554 |
| S&P 500 | 4 hours | n/a | 344 | 79.65 | 2,455 EUR | -887 |
| S&P 500 | 1 hour | n/a | 1,096 | 66.33 | 981 EUR | -695 |
| Gold | 10 min | n/a | 1,117 | 61.15 | 904 EUR | -370 |
Charts
Top 10 of 20 runs. The full list is in the table above.
The code
// ============================================================== // Bollinger Basis Aroon Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false basis = Average[20](close) upper = basis + 2 * STD[20](close) aroon = 100 * (288 - ABS(HighestBars[289](high))) / 288
10 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 20 market and timeframe combinations. The best run was S&P 500, Daily, with a profit factor of 4.08 over 174 trades.
The best run had a maximum drawdown of 1,256 EUR at the tested position size, against a net result of 5,028 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.