The strategy buys when Aroon Up crosses above Aroon Down while the close is above its 20-bar linear regression value. It closes the long on the reverse cross with the close below that value, and sets no stop or target.
Best run of 14. DAX 40, 30 min, spread 3, from run sweeps:2026-10-12-DAX40-30m-opt.tsv:43.
| Period | Up to 2026-10-12 |
| Instrument | DAX 40, 30 minutes |
| Spread | 3 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 |
|---|---|---|---|---|---|---|
| DAX 40Best run | 30 min | n/a | 5,522 | 35.69 | 6,590 EUR | -5,330 |
| Nikkei 225 | Daily | n/a | 282 | 42.91 | 46,946 USD | -10,185 |
| Nikkei 225 | 4 hours | n/a | 664 | 40.81 | 30,560 USD | -10,719 |
| Silver | Daily | n/a | 327 | 36.70 | 29,255 USD | -22,514 |
| Dow Jones | Daily | n/a | 363 | 44.90 | 24,834 EUR | -8,854 |
| Nasdaq 100 | Daily | n/a | 274 | 44.16 | 15,332 EUR | -4,354 |
| DAX 40 | Daily | n/a | 380 | 45.79 | 14,985 EUR | -5,825 |
| Dow Jones | 1 hour | n/a | 1,150 | 39.74 | 14,666 EUR | -7,662 |
| Nasdaq 100 | 4 hours | n/a | 789 | 42.71 | 9,941 EUR | -5,244 |
| DAX 40 | 4 hours | n/a | 785 | 41.91 | 8,106 EUR | -4,227 |
| S&P 500 | Daily | n/a | 381 | 41.99 | 3,364 EUR | -1,117 |
| Gold | Daily | n/a | 344 | 39.53 | 2,115 EUR | -1,058 |
| Gold | 4 hours | n/a | 820 | 40.98 | 1,882 EUR | -1,263 |
| Gold | 1 hour | n/a | 3,345 | 36.83 | 1,781 EUR | -779 |
Charts
Top 10 of 14 runs. The full list is in the table above.
The code
// ============================================================== // Aroon Crossover LSMA Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false aup = 100 * (15 - HighestBars[16](high)) / 15 adn = 100 * (15 - LowestBars[16](low)) / 15 lsma = LinearRegression[20](close)
12 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 14 market and timeframe combinations. The best run by trade count was DAX 40, 30 minutes, with 5,522 trades.
The best run had a maximum drawdown of 5,330 EUR at the tested position size, against a net result of 6,590 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.