Buys when the 14 period RSI closes above 70 after being at or below 70 on the prior bar. Sells when the RSI crosses back below 70, and the strategy trades long only.
Best run of 2. Gold, Daily, spread 0.6, from run sweeps:2026-10-07-GOLD-D-opt.tsv:45.
| Period | Up to 2026-10-07 |
| Instrument | Gold, Daily |
| Spread | 0.6 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| GoldBest run | Daily | n/a | 267 | 32.21 | 1,123 EUR | -754 |
| GBP/USD | Daily | n/a | 204 | 35.29 | 3,324 USD | -1,609 |
Charts
The code
// ============================================================== // RSI 70 Momentum Breakout // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[14](close)
9 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 2 market and timeframe combinations. The best run by trade count was Gold, Daily, with 267 trades.
The best run had a maximum drawdown of 754 EUR at the tested position size, against a net result of 1,123 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.