PROTECTED SOURCE SCRIPT

[GYTS-CE] Signal Provider | WaveTrend 4D with QMC

WaveTrend 4D with Quantile Median Crosses (Community Edition)
🌸 "📡 Signal Provider" in GoemonYae Trading System (GYTS) 🌸

WaveTrend 4D (WT4D) is an extension of the incredible WaveTrend 3D (2022, Justin Dehorty). This oscillator elevates the classic WaveTrend by integrating advanced mathematical models for a multi-dimensional view of market momentum, capturing subtle shifts and trends that traditional indicators might miss. Each oscillator layer uses a combination of normalised derivatives, hyperbolic tangent transformations, and dual-pole filtering (John Ehlers' SuperSmoother), providing normalised and smooth signals with minimised lag.

The name "WaveTrend 4D" is derived from the usage of 4 dimensions, representing different frequencies or timeframes. Next to the "fast", "normal" and "slow" frequency, the fourth frequency is called "lethargic" (very slow). This gives the opportunity utilise more dimensions without having abundant signals, since we quantify and filter the quality of signals.

WT4D strives to help discriminating high-quality signals from the indicator by introducing the Gradient Divergence Measure (GDM) and Quantile Median Crosses (QMC). For simplicity, speed and focus, this particular indicator includes only the QMC part. Check the other 🤲Community Edition of this indicator that focuses on the GDM. For QMC, see below for more information.


🌸 --- QUANTILE MEDIAN CROSSES (QMC) --- 🌸

snapshot

💮 Introduction
--
A powerful approach when working with WaveTrend is to use the frequencies' crossings of the median (zero) line. This would signify a continuation of the reversal. However, not all of those crossings would be trades with a high probability of success. For this reason, we strive to only consider reversals after the most strong trends start to show weakness. We call these reversals the "Quantile Median Crosses" (QMC), deriving the name from the used methodology.

💮 Methodology
--
To find these "most strong trends", we calculate the integral ("the area") of a frequency between all historical median crosses, and take an upper quantile of those integrals. This means that when the frequency is crossing the median in a period of consolidation, the areas between those crosses would be small. But if there was a strong momentum, and the frequency would separate itself significantly from the median and would do so for a long time, its area would be large.

So after considering all the past integrals, we take the upper quantile of those (i.e. sort all integrals and for example take the top 5%) and if the latest trend's integral was in this upper quantile, it is considered "significant". Hence, the name "quantile" in the name "Quantile Median Cross".

💮 QMC on the Oscillator
--
The QMC is shown as a label "🔴" above the median or with "🟢" below the median. The normal frequency has a "bronze" colour, the slow frequency "silver" and the lethargic is "gold". In addition to the labels, there are also diamond shapes in the same colour drawn on the median in the oscillator. This represents the previous median crossing, and helps the user to see between which two points the integral is calculated.


🌸 --- GOEMONYAE TRADING SYSTEM --- 🌸

As previously mentioned, this indicator is a 📡 Signal Provider, part of the suite of the GoemonYae Trading System (🤲 Community Edition). The greatest value comes from connecting multiple 📡 Signal Providers to the 🧬 Flux Composer to find confluence between signals. Contrary to most other indicators that connect with each other, the signals that are passed are not just binary signals ("buy" or "sell") but pass the actual GDM and QMC values. This gives the opportunity in the 🧬 Flux Composer to more accurately use multiple signals with different strengths to finally give an overall signal. On its turn, the Flux Composer can be connected to the GYTS "🎼 Order Orchestrator" for backtesting and trade automation.
CyclesdigitalsignalgytslowpassfiltermultitimeframeanalysisQMCquantilemediancrossreversalsignalproviderTrend AnalysisWave Analysiswavetrend

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?


🌸 ----- GoemonYae Trading System (GYTS) ----- 🌸
💬 GYTS Discord server (including YaeBot): discord.gg/ef6Tu4kha3
👔 personal LinkedIn: linkedin.com/in/arthur-nazarian
Also on:

Disclaimer