Join waitlist
Strategies / Momentum / QQE Trailing Line Long

QQE Trailing Line Long

Buys 1 contract when the smoothed RSI moves above the QQE trailing line. Closes the long when the trailing line moves back above the smoothed RSI.

MomentumLong onlySwingUSD/JPY1 hour
n/aProfit factor
423,420Net profit USD
42.44%Win rate
4,140Trades
-261,700Max drawdown
102Avg trade

Best run of 16. USD/JPY, 1 hour, spread 1, from run sweeps:2026-10-04-USDJPY-1h-opt.tsv:33.

Entry rules, long

  1. The trailing line is a band set 4.238 times a 27 period smoothed measure of RSI changes from the smoothed RSI.

Exit rules

  1. The trailing line moves above the smoothed RSI on this bar, closing the long.

Test conditions

PeriodUp to 2026-10-04
InstrumentUSD/JPY, 1 hour
Spread1 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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
USD/JPYBest run1 hourn/a 4,14042.44423,420 USD-261,700
USD/JPYDailyn/a 39744.08578,300 USD-537,500
USD/JPY4 hoursn/a 1,08744.62454,080 USD-253,780
Dow JonesDailyn/a 45747.9224,401 EUR-11,053
Nikkei 2254 hoursn/a 78644.1519,786 USD-11,400
DAX 401 hourn/a 3,29042.0416,293 EUR-4,459
DAX 40Dailyn/a 48245.6414,295 EUR-5,729
Nasdaq 1001 hourn/a 3,63140.3713,383 EUR-5,426
Dow Jones1 hourn/a 1,19243.2012,551 EUR-9,817
DAX 404 hoursn/a 94146.0110,878 EUR-3,457
Nasdaq 1004 hoursn/a 99144.408,954 EUR-5,110
Dow Jones4 hoursn/a 31341.858,132 EUR-7,737
Nasdaq 100Dailyn/a 35544.237,513 EUR-4,511
GoldDailyn/a 42945.452,255 EUR-1,631
Gold4 hoursn/a 96045.101,981 EUR-1,307
S&P 500Dailyn/a 49941.881,489 EUR-1,120

Charts

Results by run

Top 10 of 16 runs. The full list is in the table above.

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// QQE Trailing Line Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long only
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE longband = 0
ONCE shortband = 0
ONCE trend = 1
ONCE cntlong = 0
ONCE cntshort = 0

myRsi = RSI[14](close)
rsima = ExponentialAverage[5](myRsi)
atrrsi = ABS(rsima[1] - rsima)
maatr = ExponentialAverage[27](atrrsi)
dar = ExponentialAverage[27](maatr) * 4.238

newshort = rsima + dar
newlong = rsima - dar
prevlong = longband[1]
prevshort = shortband[1]

43 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.

Indicators used

EMARSI
Read this firstKnown weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 261,700 USD is large next to the net profit of 423,420 USD.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run QQE Trailing Line Long 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 16 market and timeframe combinations. The best run by trade count was USD/JPY, 1 hour, with 4,140 trades.

How large was the drawdown?

The best run had a maximum drawdown of 261,700 USD at the tested position size, against a net result of 423,420 USD.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

EMA 8 21 RSI Filtered Bracket

Best run on the same market, USD/JPY.

1.09 PF · 6,194 trades

ATR Momentum

Also a momentum strategy.

n/a PF · 15,021 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