Buys when a linear regression oscillator is below zero and higher than its values on the 2 prior bars, while RSI(14) crosses above 30. Sells short on the mirror conditions, with a 1.2 percent target from entry.
Best run of 6. FTSE 100, 30 min, spread 2, from run sweeps:2026-10-04-FTSE100-30m-opt.tsv:24.
| Period | Up to 2026-10-04 |
| Instrument | FTSE 100, 30 minutes |
| Spread | 2 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 |
|---|---|---|---|---|---|---|
| FTSE 100Best run | 30 min | n/a | 730 | 68.22 | 6,541 EUR | -2,430 |
| Silver | Daily | n/a | 97 | 97.94 | 8,419 USD | -7,935 |
| US Crude Oil | Daily | n/a | 95 | 97.89 | 4,660 EUR | -4,332 |
| FTSE 100 | 10 min | n/a | 634 | 66.56 | 3,555 EUR | -1,191 |
| DAX 40 | 1 min | n/a | 570 | 61.23 | 3,537 EUR | -2,406 |
| S&P 500 | 1 min | n/a | 462 | 61.69 | 751 EUR | -652 |
Charts
The code
// ============================================================== // TTM Oscillator RSI Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false center = (highest[20](high) + lowest[20](low)) / 2 + Average[20](close) src = close - center / 2 osc = LinearRegression[20](src) myRsi = RSI[14](close)
16 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 6 market and timeframe combinations. The best run by trade count was FTSE 100, 30 minutes, with 730 trades.
The best run had a maximum drawdown of 2,430 EUR at the tested position size, against a net result of 6,541 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.