Triple EMA + QQE Trend Following Strategy [TradeDots]

The "Triple EMA + QQE Trend Following Strategy" harnesses the power of two sophisticated technical indicators, the Triple Exponential Moving Average (TEMA) and the Qualitative Quantitative Estimation (QQE), to generate precise buy and sell signals. This strategy excels in capturing shifts in trends by identifying short-term price momentum and dynamic overbought or oversold conditions.


This strategy integrates two pivotal indicators:

Triple Exponential Moving Average (TEMA): TEMA enhances traditional moving averages by reducing lag and smoothing the data more effectively. It achieves this by applying the EMA formula three times onto the price, as follows:
tema(src, length) =>
    ema1 = ta.ema(src, length)
    ema2 = ta.ema(ema1, length)
    ema3 = ta.ema(ema2, length)
    tema = 3*ema1 - 3*ema2 + ema3

This computation helps to sharpen the sensitivity to price movements.

Qualitative Quantitative Estimation (QQE): The QQE indicator improves upon the standard RSI by incorporating a smoothing mechanism. It starts with the standard RSI, overlays a 5-period EMA on this RSI, and then enhances the result using a double application of a 27-period EMA. A slow trailing line is then derived by multiplying the result with a factor number. This approach establishes a more refined and less jittery trend-following signal, complementing the TEMA to enhance overall market timing during fluctuating conditions.


Referenced from insights on "Trading Tact," the strategy implementation follows:

First of all, we utilize two TEMA lines: one set at a 20-period and the other at a 40-period. Then following the rules below:

  1. 40-period TEMA is rising
  2. 20-period TEMA is above 40-period TEMA
  3. Price closes above 20-period TEMA
  4. Today is not Monday
  5. RSI MA crosses the Slow trailing line

This strategy does not employ an active take profit mechanism; instead, it utilizes a trailing stop loss to allow the price to reach the stop loss naturally, thereby maximizing potential profit margins.


Commission: 0.01%
Initial Capital: $10,000
Equity per Trade: 80%

Users are advised to adjust and personalize this trading strategy to better match their individual trading preferences and style.


Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results.

Trading Tact. What Is the QQE Indicator? Retrieved from:

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。