OPEN-SOURCE SCRIPT

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.

HOW IT WORKS

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:


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.

APPLICATION

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.

DEFAULT SETUP

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.

RISK DISCLAIMER

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.

Reference:
Trading Tact. What Is the QQE Indicator? Retrieved from: tradingtact.com/qqe-indicator/
buysellsignalmovingaveragecrossoverqqeRelative Strength Index (RSI)rsidivergencestrategyTriple Exponential Moving Average (TEMA)tradedotsTrend Analysistripleexponentialmovingaverage

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal