Join waitlist
Strategies / Breakout / Fifty Bar Fibonacci Level Cross

Fifty Bar Fibonacci Level Cross

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.

BreakoutLong & shortSwingSilver1 hour
2.64Profit factor
475,959Net profit USD
58.90%Win rate
3,012Trades
-96,285Max drawdown
158Avg trade

Best run of 3. Silver, 1 hour, spread 2, from run pf:2026-10-13-SILVER-1h.tsv:7.

Entry rules, long

  1. The close crosses above the level 0.618 times the 50-bar range below the highest high.

Entry rules, short

  1. The close crosses below the level 0.382 times the 50-bar range below the highest high.

Exit rules

  1. A short closes at market when the close falls to or below the level 0.786 times the range below the highest high.
  2. If an entry and an exit fire on the same bar, the entry takes priority.

Test conditions

PeriodUp to 2026-10-13
InstrumentSilver, 1 hour
Spread2 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-13

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
SilverBest run1 hour2.64 3,01258.90475,959 USD-96,285
Dow Jones1 hourn/a 1,04765.909,998 EUR-9,008
FTSE 100Dailyn/a 35766.115,259 EUR-3,577

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// 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

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run Fifty Bar Fibonacci Level Cross in ProOrder?

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.

Which markets was it tested on?

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.

How large was the drawdown?

The best run had a maximum drawdown of 96,284 USD at the tested position size, against a net result of 475,959 USD.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

SMA Crossover With RSI Exit

Best run on the same market, Silver.

2.13 PF · 8,999 trades

Ichimoku Cloud Breakout Long (long only) 3

Also a breakout strategy.

2.61 PF · 133 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs