SuperTrend Trading Strategy: Trend-Following System with QQE and EMA200 Filters (Backtest Results)
Discover a trend-following strategy combining SuperTrend, QQE and EMA200 on TradingView, with entry and exit rules and a 142% backtest return on EUR/USD.
Overview
This article presents a systematic trend-following strategy. It runs on the 1-hour chart and combines three indicators: SuperTrend, Qualitative Quantitative Estimation (QQE), and the 200-period exponential moving average (EMA). All three indicators are free and available on TradingView. The strategy can apply to forex, stocks, futures, precious metals, cryptocurrencies, and other actively traded financial derivatives.
Trend-following strategies face two main risks: consolidation and reversals. The strategy aims to limit losses when these conditions occur.
Recent Forward Results
The following results cover 10 trading days ending August 3, 2022, on the 15-minute chart.
| Instrument | Trades | Wins | Losses | Return |
|---|---|---|---|---|
| Google (US stock) | 2 | 2 | 0 | 6.55% |
| Gold/USD | 6 | 5 | 1 | 1.92% |
| Ethereum/USD | 10 | 7 | 3 | 33.56% |
One long position in Ethereum/USD remained open. At the start of the broadcast, this position was at a loss. Its final result was not yet known.
Indicator Settings
1. SuperTrend
SuperTrend is a volatility-based indicator. It uses the Average True Range (ATR). It identifies price direction and can also trail stop-loss levels.
- ATR Period: changed from 10 to 100
- ATR Multiplier: changed from 3 to 5.5
Signals:
- BUY: the market is in an uptrend. Suitable for long positions.
- SELL: the market is in a downtrend. Suitable for short positions.
Using SuperTrend alone is insufficient. Entries based only on this single signal produce large drawdowns. The strategy therefore adds two confirmation layers.
2. QQE (Qualitative Quantitative Estimation)
QQE uses default settings. Its display resembles the MACD indicator. The main difference lies in the calculation method. In both indicators:
- The zero line separates bullish and bearish territory.
- The display combines a signal line with a histogram.
- Both can generate trend entry signals.
QQE determines the main entry signal in this strategy.
3. EMA 200
- Period: 200
- Other parameters: unchanged
The EMA 200 determines the long-term trend direction:
- Price above EMA 200: the market is in an uptrend. Only long positions are taken.
- Price below EMA 200: the market is in a downtrend. Only short positions are taken.
Long Entry Rules
All three conditions must be met.
- SuperTrend shows a BUY signal, and the candle closes above the EMA 200.
- QQE histogram is below the zero line. The histogram shows red, gray, or no color. Any one of these colors satisfies the condition.
- QQE signal line (white) is below the zero line and below any histogram.
When all three conditions are met, the candle that meets them becomes the key candle. Its closing price is the entry price.
Important: The key candle must close bullish (higher close). If it does not, the rules are invalid. Traders must wait for a new entry signal. A new signal requires the QQE histogram to change from blue to red again before the calculation restarts.
Stop loss: Place the stop at the SuperTrend signal line on the key candle.
Take profit: The strategy tracks four QQE histogram phases after entry:
| Phase | QQE histogram color | Position relative to zero line |
|---|---|---|
| Red 1 | Red | Below zero |
| Blue 2 | Blue | Above zero |
| Red 3 | Red | Below zero |
| Blue 4 | Blue | Above zero |
Blue 4 is the final take-profit zone. Close the long position when the QQE signal line is in the Blue 4 zone and above a blue histogram.
Short Entry Rules
All three conditions must be met.
- SuperTrend shows a SELL signal, and the candle closes below the EMA 200.
- QQE histogram is above the zero line. The histogram shows blue, gray, or no color. Any one of these colors satisfies the condition.
- QQE signal line (white) is above the zero line and above any histogram.
When all three conditions are met, the candle becomes the key candle. Its closing price is the entry price.
Important: The key candle must close bearish (lower close). If it does not, the rules are invalid. Traders must wait for a new entry signal. A new signal requires the QQE histogram to change from red to blue again before the calculation restarts.
Stop loss: Place the stop at the SuperTrend signal line on the key candle.
Take profit: The strategy tracks four QQE histogram phases after entry:
| Phase | QQE histogram color | Position relative to zero line |
|---|---|---|
| Blue 1 | Blue | Above zero |
| Red 2 | Red | Below zero |
| Blue 3 | Blue | Above zero |
| Red 4 | Red | Below zero |
Red 4 is the final take-profit zone. Close the short position when the QQE signal line is in the Red 4 zone and below a red histogram.
Backtest Results: EUR/USD, 1-Hour Chart
Test Parameters
- Instrument: EUR/USD
- Timeframe: 1-hour
- Test period: January 2021 to July 2022 (390 trading days)
- Initial capital: USD 1,000
- Risk per trade: 2% of total capital
- Leverage: 1:200
Results
| Metric | Value |
|---|---|
| Total trades | 100 |
| Win rate | 62% |
| Net profit | USD 1,417.40 |
| Maximum consecutive wins | 7 |
| Maximum consecutive losses | 5 |
| Risk-to-reward ratio | 23.48 |
| Total points gained | 25,937 |
| Total return | 142% |
The equity curve rises at approximately a 45-degree angle. Pullbacks are small.
Risk-Reward Optimization
The author suggests a method to improve the win rate and expectancy. Traders can set risk-reward targets based on their own risk tolerance:
- 1:1
- 1:2
- 1:3
After the 1:1 target is reached, the 1:2 and 1:3 positions can use SuperTrend as a trailing stop. This approach aims to reduce risk.
Market Conditions and Risk Management
Prices do not trend in one direction indefinitely. Reversals and sideways markets occur. The strategy does not avoid these conditions. Its objective is to limit losses when they occur.
The author states that the strategy merits testing and further optimization. Long-term survival in the market depends on continuous strategy refinement and sound risk control.
Introduction and Short-Term Results
Introduces the strategy and shows short-term 15-minute results across Google, gold, and Ethereum, with a note that the strategy works across forex, stocks, futures, metals, and crypto.
- Short-term 15-minute results (8/3/2022 onward, 10 trading days): Google 2 trades, 2 wins, 6.55% return; Gold/USD 6 trades, 5 wins, 1 loss, 1.92% return; Ethereum/USD 10 trades, 7 wins, 3 losses, 33.56% return
- An Ethereum long trade was still open at the time of recording
- Strategy is built on three free indicators, implemented on TradingView
- Applicable to forex, stocks, futures, precious metals, cryptocurrencies, and other heavily traded derivatives
- Strategy is a trend-following system run on the 1-hour chart
Indicator Setup
Explains the three indicators: SuperTrend for volatility-based trend signals and trailing stops, QQE for the main entry signal, and EMA200 for the long-term trend direction.
- SuperTrend is ATR-based; parameters changed from ATR Period 10 to 100 and ATR Multiplier 3 to 5.5
- SuperTrend BUY signal means an uptrend (favor longs); SELL signal means a downtrend (favor shorts)
- QQE (Quantitative Qualitative Estimation, presented as 'Quantitative Quantitative Estimation') uses default settings; it resembles MACD with a zero line dividing bullish and bearish zones, a signal line, and a histogram
- QQE is the main entry trigger
- EMA200 (exponential moving average) is set to period 200 and defines the long-term trend: price above EMA200 allows only longs, below only shorts
Entry and Exit Rules
Defines the long and short entry conditions, the entry bar, stop-loss, and the four-stage QQE-based take-profit sequence.
- Long entry: SuperTrend shows BUY; the candle closes above EMA200; QQE histogram is below the zero line in red, gray, or uncolored bars; QQE white signal line is below zero and below any histogram bar
- Key candle close must be bullish; otherwise the setup is invalid and a new signal is needed
- A new long signal requires QQE histogram to switch from blue back to red
- Long stop-loss is placed at the SuperTrend signal line on the key candle
- Long take-profit: count QQE histogram phases red1 (below zero), blue2 (above zero), red3 (below zero), blue4 (above zero); exit when the signal line is in the blue4 zone and above a blue histogram bar
- Short entry: SuperTrend shows SELL; the candle closes below EMA200; QQE histogram is above the zero line in blue, gray, or uncolored bars; signal line is above zero and above any histogram bar
- Key candle close must be bearish; a new short signal requires histogram to switch from red back to blue
- Short stop-loss is placed at the SuperTrend signal line on the key candle
- Short take-profit: count blue1 (above zero), red2 (below zero), blue3 (above zero), red4 (below zero); exit when the signal line is in the red4 zone and below a red histogram bar
Backtest Results and Optimization
Backtests the strategy on EUR/USD 1-hour from January 2021 to July 2022 and presents performance metrics and an optimization method.
- Backtest: 100 trades over 390 trading days on EUR/USD 1-hour
- Starting capital $1,000; 2% risk per trade; leverage 1:200
- Win rate 62%; profit $1,417.40; maximum 7 consecutive wins and 5 consecutive losses
- Risk-reward ratio 23.48; total gain 25,937 points; total return 142%
- Equity curve rises at about 45 degrees with small drawdowns
- Optimization idea: use fixed risk-reward targets of 1:1, 1:2, and 1:3; after the 1:1 target is hit, use SuperTrend as a trailing stop for 1:2 and 1:3 trades
