This idea buys when the close crosses up through a Fibonacci retracement level of the last 50 bars, and sells short when it crosses down through another level. Longs close near the top of the range and shorts close near the bottom.
Best run of 3. Silver, 1 hour, spread 2, from run pf:2026-10-13-SILVER-1h.tsv:7.
| Period | Up to 2026-10-13 |
| Instrument | Silver, 1 hour |
| 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-13 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| SilverBest run | 1 hour | 2.64 | 3,012 | 58.90 | 475,959 USD | -96,285 |
| Dow Jones | 1 hour | n/a | 1,047 | 65.90 | 9,998 EUR | -9,008 |
| FTSE 100 | Daily | n/a | 357 | 66.11 | 5,259 EUR | -3,577 |
Charts
The code
// ============================================================== // Fifty Bar Fibonacci Level Cross // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false hh = highest[50](high) ll = lowest[50](low) diff = hh - ll lvltwo = hh - diff * 0.236 lvlthree = hh - diff * 0.382 lvlsix = hh - diff * 0.618 lvlseven = hh - diff * 0.786
17 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 3 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 2.64 over 3,012 trades.
The best run had a maximum drawdown of 96,284 USD at the tested position size, against a net result of 475,959 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.