Buys one bar after the RSI index first rises above 60, when the 21 and 84 EMAs are rising and the close is above the 21 EMA. Shorts mirror these conditions, with exits on a QQE line cross or RSI index threshold.
Best run of 8. USD/JPY, Daily, spread 1, from run pf:2026-10-13-USDJPY-D.tsv:6.
| Period | Up to 2026-10-13 |
| Instrument | USD/JPY, Daily |
| Spread | 1 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 |
|---|---|---|---|---|---|---|
| USD/JPYBest run | Daily | 1.42 | 319 | 43.89 | 1,364,610 USD | -317,880 |
| USD/JPY | 1 hour | n/a | 3,284 | 38.49 | 210,540 USD | -198,010 |
| EUR/USD | Daily | n/a | 319 | 43.89 | 79,546 USD | -31,840 |
| Silver | 4 hours | n/a | 764 | 36.91 | 13,372 USD | -12,531 |
| GBP/USD | Daily | n/a | 338 | 39.35 | 6,964 USD | -6,959 |
| Brent Crude | Daily | n/a | 113 | 41.59 | 6,671 EUR | -6,401 |
| Gold | 1 hour | n/a | 2,756 | 36.87 | 1,801 EUR | -605 |
| Gold | Daily | n/a | 333 | 39.94 | 1,037 EUR | -660 |
Charts
The code
// ============================================================== // QQE Channel Exit Trend // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE longband = 0 ONCE shortband = 0 ONCE trend = 1 ONCE xlong = 0 ONCE xshort = 0 ONCE zlong = 0 ONCE zshort = 0 ONCE clong = 0 ONCE cshort = 0 ONCE buyc = 0 ONCE sellc = 0 ONCE closel = 0 ONCE closes = 0 ONCE state = 0 myRsi = RSI[14](close) rsx = ExponentialAverage[8](myRsi) atrrsi = ABS(rsx[1] - rsx) maatr = ExponentialAverage[27](atrrsi) dar = ExponentialAverage[27](maatr) * 5 newlong = rsx - dar newshort = rsx + dar lbp = longband[1] lbpp = longband[2] sbp = shortband[1] sbpp = shortband[2]
122 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 USD/JPY, Daily, with a profit factor of 1.42 over 319 trades.
The best run had a maximum drawdown of 317,880 USD at the tested position size, against a net result of 1,364,610 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.