INVITE-ONLY SCRIPT

GKD-C Wavelet Oscillator [Loxx]

The Giga Kaleidoscope GKD-C Wavelet Oscillator is a Confirmation module included in AlgxTrading's "Giga Kaleidoscope Modularized Trading System."

GKD-C Wavelet Oscillator, a brief overview

The Wavelet Oscillator is an advanced technical analysis tool that integrates wavelet transformations with the Kalman filter to provide a nuanced understanding of market trends and momentum. At the heart of this oscillator is the Haar wavelet transform, a mathematical technique that breaks down price data into different frequency components. The Haar transform works by analyzing the price series in pairs, calculating the average and difference between adjacent data points, effectively separating the underlying signal (trend) from noise or minor fluctuations. This decomposition allows the oscillator to isolate significant price movements and reconstruct them with greater clarity through the inverse Haar transform. The Kalman filter is then applied to further smooth the signal, refining the data and reducing the impact of short-term volatility.

This process enhances the oscillator's ability to detect subtle shifts in market dynamics that might be missed by conventional indicators. The GKD-C Wavelet Oscillator utilizes these refined signals to generate two types of trading signals: Zero-line crosses, where the oscillator moves above or below a central reference point, indicating potential bullish or bearish momentum, and Signal crosses, where the current oscillator value crosses its previous value, signaling possible trend reversals. These features make the Wavelet Oscillator particularly effective in identifying key turning points in the market, providing traders with a powerful tool for anticipating and responding to changes in price momentum within the GKD trading system. (Read the sections below to learn how traders can test these different signal types using AlgxTrading's GKD trading system.)


GKD-C Wavelet Oscillator in Zero-line crosses mode
快照


GKD-C Wavelet Oscillator in Signal crosses mode
快照


To explain the features included in the GKD-C Wavelet Oscillator, let's first dive into the details of the Giga Kaleidoscope (GKD) Modularized Trading System.

Giga Kaleidoscope (GKD) Modularized Trading System

The GKD Trading System is a comprehensive, algorithmic trading framework from AlgxTrading, designed to optimize trading strategies across various market conditions. It employs a modular approach, incorporating elements such as volatility assessment, trend identification through a baseline, multiple confirmation strategies for signal accuracy, and volume analysis. Key components also include specialized strategies for entry and exit, enabling precise trade execution. The system allows for extensive backtesting, providing traders with the ability to evaluate the effectiveness of their strategies using historical data. Aimed at reducing setup time, the GKD system empowers traders to focus more on strategy refinement and execution, leveraging a wide array of technical indicators for informed decision-making.

🔶 Core components of a GKD Algorithmic Trading System

Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, GKD-M, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD system. The GKD algorithm is built on the principles of trend, momentum, and volatility. There are eight core components in the GKD trading algorithm:

🔹 Volatility - In the GKD trading system, volatility is used as a part of the system to help determine the appropriate stop loss and take profit levels for a trade. There are 17+ different types of volatility available in the GKD system including Average True Range (ATR), True Range Double (TRD), Close-to-Close, Garman-Klass, and more.

🔹 Baseline (GKD-B) - The baseline is essentially a moving average and is used to determine the overall direction of the market. The baseline in the GKD trading system is used to filter out trades that are not in line with the long-term trend of the market. The baseline is plotted on the chart along with other GKD indicators.

Trades are only taken when the price is in the same direction as the baseline. For example, if the baseline is sloping upwards or price is above the baseline, then only long trades are taken, and if the baseline is sloping downwards or price is below the baseline, then only short trades are taken. This approach helps to ensure that trades are in line with the overall trend of the market, and reduces the risk of entering trades that are likely to fail.

🔹 Confirmation 1, Confirmation 2, Continuation (GKD-C) - The GKD trading system incorporates technical confirmation indicators for the generation of its primary long and short signals, essential for its operation.

The GKD trading system distinguishes three specific categories. The first category, Confirmation 1, encompasses technical indicators designed to identify trends and generate explicit trading signals. The second category, Confirmation 2, a technical indicator used to identify trends; this type of indicator is primarily used to filter the Confirmation 1 indicator signals; however, this type of confirmation indicator also generates signals*. Lastly, the Continuation category includes technical indicators used in conjunction with Confirmation 1 and Confirmation 2 to generate a special type of trading signal called a "Continuation"

In a full GKD trading system all three categories generate signals. (see the section “GKD Trading System Signals” below)

🔹 Volatility/Volume (GKD-V) - Volatility/Volume indicators are used to measure the amount of buying and selling activity in a market. They are based on the trading Volatility/Volume of the market, and can provide information about the strength of the trend. In the GKD trading system, Volatility/Volume indicators are used to confirm trading signals generated by the various other GKD indicators. In the GKD trading system, Volatility is a proxy for Volume and vice versa.

Volatility/Volume indicators reduce the risk of false signals and improve the overall profitability of trades. These indicators can provide additional information about the market that is not captured by GKD-C confirmation and GKD-B baseline indicators.

🔹 Exit (GKD-E) - The exit indicator in the GKD system is an indicator that is deemed effective at identifying optimal exit points. The purpose of the exit indicator is to identify when a trend is likely to reverse or when the market conditions have changed, signaling the need to exit a trade. By using an exit indicator, traders can manage their risk and prevent significant losses.

🔹 Backtest (GKD-BT) - The GKD-BT backtest indicators link all other GKD-C, GKD-B, GKD-E, GKD-V, and GKD-M components together to create a GKD trading system. GKD-BT backtests generate signals (see the section “GKD Trading System Signals” below) from the confluence of various GKD indicators that are imported into the GKD-BT backtest. Backtest types include: GKD-BT solo and full GKD backtest strategies used for a single ticker; GKD-BT optimizers used to optimize a single indicator or the full GKD trading system; GKD-BT Multi-ticker used to backtest a single indicator or the full GKD trading system across up to ten tickers; GKD-BT exotic backtests like CC, Baseline, and Giga Stacks used to test confluence between GKD components to then be injected into a core GKD-BT Multi-ticker backtest or single ticker strategy.

🔹 Metamorphosis (GKD-M)** - The concept of a metamorphosis indicator involves the integration of two or more GKD indicators to generate a compound signal. This is achieved by evaluating the accuracy of each indicator and selecting the signal from the indicator with the highest accuracy. As an illustration, let's consider a scenario where we calculate the accuracy of 10 indicators and choose the signal from the indicator that demonstrates the highest accuracy.

The resulting output from the metamorphosis indicator can then be utilized in a GKD-BT backtest by occupying a slot that aligns with the purpose of the metamorphosis indicator. The slot can be a GKD-B, GKD-C, GKD-E, or GKD-V slot, depending on the specific requirements and objectives of the indicator. This allows for seamless integration and utilization of the compound signal within the GKD-BT framework.

*(see the section “GKD Trading System Signals” below)
**(not a required component of the GKD algorithm)

🔶 What does the application of the GKD trading system look like?

Example trading system:

Volatility: Average True Range (ATR) (selectable in all backtests and other related GKD indicators)
GKD-B Baseline: GKD-B Multi-Ticker Baseline using Hull Moving Average
GKD-C Confirmation 1: GKD-C Advance Trend Pressure
GKD-C Confirmation 2: GKD-C Dorsey Inertia
GKD-C Continuation: GKD-C Stochastic of RSX
GKD-V Volatility/Volume: GKD-V Damiani Volatmeter
GKD-E Exit: GKD-E MFI
GKD-BT Backtest: GKD-BT Multi-Ticker Full GKD Backtest
GKD-M Metamorphosis: GKD-M Baseline Optimizer

**all indicators mentioned above are included in the same AlgxTrading package**

Each module is passed to a GKD-BT backtest module. In the backtest module, all components are combined to formulate trading signals and statistical output. This chaining of indicators requires that each module conform to AlgxTrading's GKD protocol, therefore allowing for the testing of every possible combination of technical indicators that make up the various indictor types in the GKD algorithm.

🔶 GKD Trading System Signals

🔹 Standard Entry requires a sequence of conditions including a confirmation signal from GKD-C, baseline agreement, price criteria related to the Goldie Locks Zone, and concurrence from a second confirmation and volatility/volume indicators.

🔹 1-Candle Standard Entry introduces a two-phase process where initial conditions must be met, followed by a retraction in price and additional confirmations in the subsequent candle, including baseline, confirmations 1 and 2, and volatility/volume criteria.

🔹 Baseline Entry focuses on signals generated by the GKD-B Baseline, requiring agreement from confirmation signals, specific price conditions within the Goldie Locks Zone, and a timing condition related to the confirmation 1 signal.

🔹 1-Candle Baseline Entry mirrors the baseline entry but adds a requirement for a price retraction and subsequent confirmations in the following candle, maintaining the focus on the baseline's guidance.

🔹 Volatility/Volume Entry is predicated on signals from volatility/volume indicators, requiring support from confirmations, price criteria within the Goldie Locks Zone, baseline agreement, and a timing condition for the confirmation 1 signal.

🔹 1-Candle Volatility/Volume Entry adapts the volatility/volume entry to include a phase of initial signal and agreement, followed by a retracement phase that seeks further agreement from the system's components in the subsequent candle.

🔹 Confirmation 2 Entry is based on the second confirmation signal, requiring the first confirmation's agreement, specific price criteria, agreement from volatility/volume indicators, and baseline, with a timing condition for the confirmation 1 signal.

🔹 1-Candle Confirmation 2 Entry adds a retracement requirement to the confirmation 2 entry, necessitating additional agreements from the system's components in the candle following the signal.

🔹 PullBack Entry initiates with a baseline signal and agreement from the first confirmation, with a price condition related to volatility. It then looks for price to return within the Goldie Locks Zone and seeks further agreement from the system's components in the subsequent candle.

🔹 Continuation Entry allows for the continuation of an active position, based on a previously triggered entry strategy. It requires that the baseline hasn't crossed since the initial trigger, alongside ongoing agreements from confirmations and the baseline.

GKD-C Wavelet Oscillator, a deep dive

Now that you have a basic understanding of the GKD trading system. let's dive deeper into the features included in the GKD-C Wavelet Oscillator

🔶 GKD-C Wavelet Oscillator Modes aka "Confirmation Type"

The GKD-C Wavelet Oscillator has 4 modes: Confirmation for confirmation 1 and 2; Continuation; Multi-ticker for multi-ticker confirmation 1 and 2; and Optimizer.

🔹 Confirmation: When in this mode, the GKD-C Wavelet Oscillator generates confirmation 1 and 2 signals. These values can then be exported to a GKD-BT backtest strategy.

Signal Key: L = Long, S = Short


GKD-C Wavelet Oscillator in Confirmation mode
快照


Confirmation Exports
快照


GKD-C Wavelet Oscillator in attached to a GKD-BT backtest strategy
快照


**the backtest data rendered to the chart above uses $5 commission per trade and 10% equity per trade with $1 million initial capital. Each backtest result for each ticker assumes these same inputs. The results are NOT cumulative, they are separate and isolated per ticker and trading side, long or short**


🔹 Continuation: When in this mode, the GKD-C Wavelet Oscillator generates continuation signals.

Signal Key: L = Long, S = Short, CL = Continuation Long, CS = Continuation Short


GKD-C Wavelet Oscillator in Continuation mode
快照


Continuation Exports
快照


🔹 Multi-ticker: When in this mode, the GKD-C Wavelet Oscillator generates multi-ticker confirmation 1 and 2. This mode allows users to generate confirmation 1 and 2, and continuation signals for up to 10 different tickers. These values can then be exported to a GKD-BT Multi-ticker backtest.

Signal Key: L = Long, S = Short


GKD-C Wavelet Oscillator in Multi-ticker mode
快照


Multi-ticker Exports
快照


GKD-C Wavelet Oscillator attached to the GKD-BT Multi-ticker SCS Backtest
快照


**the backtest data rendered to the chart above uses $5 commission per trade and 10% equity per trade with $1 million initial capital. Each backtest result for each ticker assumes these same inputs. The results are NOT cumulative, they are separate and isolated per ticker and trading side, long or short**


🔹 Optimizer: When in this mode, the GKD-C Wavelet Oscillator generates optimization signals. These signals allow the user to backtest a range of input values. These values are exported to a GKD-BT optimizer backtest.

Signal Key: L = Long, S = Short


GKD-C Wavelet Oscillator in Optimizer mode
快照


Optimizer Inputs and Exports
快照


GKD-C Wavelet Oscillator attacked to the GKD-BT Optimizer SCS Backtest
快照


**the backtest data rendered to the chart above uses $5 commission per trade and 10% equity per trade with $1 million initial capital. Each backtest result for each ticker assumes these same inputs. The results are NOT cumulative, they are separate and isolated per ticker and trading side, long or short**


Conclusion

The GKD-C Wavelet Oscillator serves as a multi-modal component of the GKD trading system allowing traders to optimize and backtest acorss a range of input parameters and tickers. These features decrease total build time required to create a custom GKD algorithmic trading system by allowing users to spend more time trading and less time guessing.

How to Access

You can see the Author's Instructions below to learn how to get access.
Centered OscillatorsconfirmationgigakaleidoscopeGKDgkdcharrwaveletloxxMomentum Indicator (MOM)nnfxWave Analysiswavelet

僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請聯繫loxx以了解更多信息,或按照下面作者的說明進行操作。

TradingView 不建議購買並使用此腳本,除非您 100% 信任其作者並了解腳本的工作原理。在許多情況下,您可以在我們的社群腳本中免費找到良好的開源替代方案。

作者的說明

This indicator is only available to AlgxTrading VIP group members. For instructions on how to access, send me a private message here on TradingView or message me using the contact information listed in my TradingView profile.

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。

Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
更多:

免責聲明