Buys when the close is above the 150 period average, %K is above 70 and above %D, and 3 period RSI is below 20. Sells when the close falls below that average, %K is above 70 and below %D, and RSI is above 80.
Best run of 7. Nikkei 225, 3 min, spread 10, from run sweeps:2026-10-04-NIKKEI-3m-opt.tsv:25.
| Period | Up to 2026-10-04 |
| Instrument | Nikkei 225, 3 minutes |
| Spread | 10 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 |
|---|---|---|---|---|---|---|
| Nikkei 225Best run | 3 min | n/a | 3 | 100.00 | 5,742 USD | -1,311 |
| Silver | 4 hours | n/a | 1 | 100.00 | 2,345 USD | -2,215 |
| DAX 40 | 10 min | n/a | 2 | 50.00 | 834 EUR | -192 |
| Nikkei 225 | 30 min | n/a | 1 | 100.00 | 789 USD | -595 |
| Brent Crude | 2 min | n/a | 2 | 50.00 | 627 EUR | -571 |
| DAX 40 | 5 min | n/a | 2 | 50.00 | 254 EUR | -160 |
| US Crude Oil | 1 min | n/a | 2 | 100.00 | 110 EUR | -90.30 |
Charts
The code
// ============================================================== // Stochastic RSI Trend Pullback // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 3 minutes // ============================================================== DEFPARAM CumulateOrders = false ll = Lowest[8](low) hh = Highest[8](high)
21 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 7 market and timeframe combinations. The best run by trade count was Nikkei 225, 3 minutes, with 3 trades.
The best run had a maximum drawdown of 1,311 USD at the tested position size, against a net result of 5,742 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.