The system buys when the 2-period Williams %R falls below -90, a reading in oversold territory. It closes the long when the close is above the prior bar's high or the indicator rises above -30.
Best run of 10. Nasdaq 100, Daily, spread 3, from run pf:2026-10-11-NAS100-D.tsv:4.
| Period | Up to 2026-10-11 |
| Instrument | Nasdaq 100, Daily |
| 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 |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 1.73 | 833 | 56.30 | 13,897 EUR | -2,532 |
| S&P 500 | Daily | 1.54 | 905 | 62.65 | 3,300 EUR | -571 |
| Dow Jones | Daily | 1.43 | 781 | 66.20 | 22,383 EUR | -5,488 |
| USD/JPY | 4 hours | n/a | 1,917 | 65.78 | 254,450 USD | -146,780 |
| EUR/USD | 1 hour | n/a | 11,217 | 63.04 | 40,484 USD | -29,419 |
| Nikkei 225 | Daily | n/a | 947 | 64.10 | 39,881 USD | -10,602 |
| FTSE 100 | Daily | n/a | 861 | 66.90 | 6,610 EUR | -1,983 |
| US Crude Oil | Daily | n/a | 801 | 64.04 | 6,467 EUR | -4,424 |
| GBP/USD | 1 hour | n/a | 11,296 | 63.90 | 5,277 USD | -2,542 |
| DAX 40 | Daily | n/a | 1,765 | 50.03 | 4,360 EUR | -4,071 |
Charts
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Oversold Mean Reversion Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false hh = highest[2](high) ll = lowest[2](low)
16 more lines: the entry and exit rules.
Setup
Nasdaq 100 had no history beyond the standard run, so both runs used 10,000 bars.
| Bars available | 10,000 |
| Net, standard 200,000-bar run | 13,897.20 EUR |
| Net, long run | 13,897.20 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 10 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 1.73 over 833 trades.
The best run had a maximum drawdown of 2,532 EUR at the tested position size, against a net result of 13,897 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.