Join waitlist
Strategies / Trend / QQE Channel Flip Entry

QQE Channel Flip Entry

Buys when the channel flips bullish with a bullish QQE reading, or when QQE turns bullish inside a bullish channel, and sells short on the mirrored conditions. Stops sit at the 10-bar low or high, with a target at 1.0 times that risk.

TrendLong & shortSwingGold4 hours
n/aProfit factor
1,637Net profit EUR
42.69%Win rate
1,436Trades
-1,197Max drawdown
1.14Avg trade

Best run of 5. Gold, 4 hours, spread 0.6, from run sweeps:2026-10-03-GOLD-4h-opt.tsv:53.

Entry rules, long

  1. Or the QQE direction turns bullish on this bar while the channel is already bullish.

Entry rules, short

  1. Or the QQE direction turns bearish on this bar while the channel is already bearish.

Exit rules

  1. A short closes when the close crosses over the channel exit line after a bearish channel bar, or when QQE turns bullish.
  2. An opposite entry signal reverses the position.

Test conditions

PeriodUp to 2026-10-03
InstrumentGold, 4 hours
Spread0.6 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-03

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run4 hoursn/a 1,43642.691,637 EUR-1,197
SilverDailyn/a 59638.0922,509 USD-15,063
US Crude Oil4 hoursn/a 1,10841.618,637 EUR-4,236
Dow Jones4 hoursn/a 48041.047,817 EUR-7,809
GoldDailyn/a 66940.211,105 EUR-1,038

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// QQE Channel Flip Entry
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE chdir = 0
ONCE qdir = 0
ONCE lband = 0
ONCE sband = 0

chhigh = ExponentialAverage[60](high)
chlow = ExponentialAverage[60](low)

81 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 weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 1,197 EUR is large next to the net profit of 1,636 EUR.

Questions

About this strategy

Can I run QQE Channel Flip Entry 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 5 market and timeframe combinations. The best run by trade count was Gold, 4 hours, with 1,436 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,197 EUR at the tested position size, against a net result of 1,636 EUR.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

CCI Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

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