Buys when a volatility squeeze releases while linear regression momentum is positive, and holds until the momentum histogram turns gray. The strategy trades long only with 1 contract.
Best run of 8. Gold, 4 hours, spread 0.6, from run pf:2026-10-12-GOLD-4h.tsv:14.
| Period | Up to 2026-10-12 |
| Instrument | Gold, 4 hours |
| 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| GoldBest run | 4 hours | 1.67 | 305 | 42.62 | 831 EUR | -189 |
| USD/JPY | 1 hour | n/a | 1,290 | 40.47 | 145,380 USD | -132,020 |
| Nikkei 225 | 4 hours | n/a | 226 | 47.79 | 8,923 USD | -4,087 |
| Silver | 4 hours | n/a | 294 | 38.10 | 7,762 USD | -4,054 |
| Brent Crude | 1 hour | n/a | 603 | 42.12 | 3,468 EUR | -2,107 |
| GBP/USD | Daily | n/a | 104 | 45.19 | 2,916 USD | -1,616 |
| DAX 40 | Daily | n/a | 76 | 50.00 | 1,990 EUR | -1,809 |
| Gold | Daily | n/a | 137 | 42.34 | 706 EUR | -237 |
Charts
The code
// ============================================================== // Squeeze Release Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false basis = Average[21](close) dev = 1.5 * STD[21](close) upbb = basis + dev lobb = basis - dev ma = Average[20](close) rangema = Average[20](TR(close)) upkc = ma + rangema * 1.5 lokc = ma - rangema * 1.5
19 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 8 market and timeframe combinations. The best run was Gold, 4 hours, with a profit factor of 1.67 over 305 trades.
The best run had a maximum drawdown of 189 EUR at the tested position size, against a net result of 830 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.