This idea trades when price sits near a cluster of Fibonacci retracement levels from several lookback windows, going long above the 50-period EMA and short below it. Each trade has a 1.5% stop and a 3% target from entry.
Best run of 18. Gold, 1 hour, spread 0.6, from run pf:2026-10-04-GOLD-1h.tsv:1.
| Period | Up to 2026-10-04 |
| Instrument | Gold, 1 hour |
| 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| GoldBest run | 1 hour | 1.18 | 1,388 | 35.73 | 4,012 EUR | -949 |
| USD/JPY | Daily | n/a | 971 | 36.25 | 2,365,400 USD | -661,610 |
| EUR/USD | Daily | n/a | 930 | 36.24 | 136,002 USD | -53,378 |
| Silver | 10 min | n/a | 1,454 | 34.46 | 40,659 USD | -12,485 |
| EUR/USD | 1 hour | n/a | 531 | 34.65 | 37,775 USD | -32,353 |
| Silver | 2 min | n/a | 836 | 36.00 | 34,799 USD | -14,111 |
| Silver | 15 min | n/a | 1,940 | 34.38 | 34,228 USD | -13,705 |
| Dow Jones | Daily | n/a | 2,265 | 32.05 | 23,670 EUR | -11,182 |
| Silver | 5 min | n/a | 1,088 | 34.47 | 18,560 USD | -18,161 |
| Silver | 3 min | n/a | 934 | 34.05 | 17,769 USD | -17,124 |
| Nasdaq 100 | 5 min | n/a | 229 | 38.86 | 11,374 EUR | -6,175 |
| Gold | 15 min | n/a | 527 | 39.47 | 4,010 EUR | -1,161 |
| Gold | 5 min | n/a | 281 | 38.79 | 2,854 EUR | -946 |
| Gold | 10 min | n/a | 412 | 37.38 | 2,537 EUR | -1,023 |
| Gold | 4 hours | n/a | 1,267 | 34.89 | 2,007 EUR | -1,069 |
| Gold | 3 min | n/a | 219 | 38.36 | 1,848 EUR | -1,209 |
| Gold | 30 min | n/a | 1,053 | 34.38 | 1,053 EUR | -1,042 |
| Gold | 2 min | n/a | 217 | 35.94 | 978 EUR | -970 |
Charts
Top 10 of 18 runs. The full list is in the table above.
The code
// ============================================================== // Fibonacci Level Confluence Trend // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false tol = 0.005 cnt = 0 hia = highest[20](high) loa = lowest[20](low) rnga = hia - loa lvl = hia - 0.236 * rnga
83 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 18 market and timeframe combinations. The best run was Gold, 1 hour, with a profit factor of 1.18 over 1,388 trades.
The best run had a maximum drawdown of 949 EUR at the tested position size, against a net result of 4,012 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.