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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian