Buys when price is in the lower 25% of the prior 50-bar high-low channel while the close stays above the 200-period SMA. Sells at the channel midline, below the channel low by 1.0 ATR(14), or when the close drops below the SMA.
Best run of 9. S&P 500, Daily, spread 1, from run pf:2026-10-04-USA500-D.tsv:2.
| Period | Up to 2026-10-04 |
| 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| S&P 500Best run | Daily | 2.17 | 125 | 61.60 | 1,630 EUR | -257 |
| EUR/USD | Daily | n/a | 88 | 52.27 | 34,229 USD | -14,989 |
| Silver | Daily | n/a | 93 | 38.71 | 15,685 USD | -5,160 |
| Nikkei 225 | Daily | n/a | 96 | 50.00 | 7,296 USD | -5,644 |
| Dow Jones | Daily | n/a | 126 | 57.14 | 5,658 EUR | -3,292 |
| Nasdaq 100 | Daily | n/a | 97 | 57.73 | 4,397 EUR | -1,644 |
| GBP/USD | Daily | n/a | 112 | 41.96 | 3,109 USD | -2,311 |
| DAX 40 | 4 hours | n/a | 249 | 51.81 | 2,900 EUR | -1,962 |
| Gold | Daily | n/a | 128 | 51.56 | 750 EUR | -239 |
Charts
The code
// ============================================================== // Channel Lower Quarter Reversion // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false upperd = highest[50](high)[1] lowerd = lowest[50](low)[1] midd = (upperd + lowerd) / 2.0 zonetop = lowerd + (upperd - lowerd) * 25.0 / 100.0 myAtr = AverageTrueRange[14](close) smat = Average[200](close)
19 more lines: the entry and exit rules.
Setup
S&P 500 had no history beyond the standard run, so both runs used 14,000 bars.
| Bars available | 14,000 |
| Net, standard 200,000-bar run | 1,630.37 EUR |
| Net, long run | 1,630.37 EUR |
| Net on the older data alone | 0.00 EUR |
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 9 market and timeframe combinations. The best run was S&P 500, Daily, with a profit factor of 2.17 over 125 trades.
The best run had a maximum drawdown of 257 EUR at the tested position size, against a net result of 1,630 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.