Combo Trend Tracking Strategy
Overview
The combo trend tracking strategy is a quantitative trading strategy that combines double indicators to judge the trend. It first uses the 123 reversal indicator to determine price reversal signals, and then combines the directional trend index (DTI) to judge the price trend direction, so as to achieve double confirmation order signals.
Strategy Principle
The strategy consists of two main parts:
-
123 Reversal Indicator
The judging principle of the 123 reversal indicator is:
-
When the closing price rises continuously for 2 days and the 9-day slow K-line is lower than 50, go long;
-
When the closing price falls continuously for 2 days and the 9-day fast K-line is higher than 50, go short.
This can capture the timing point of price reversal.
-
-
Directional Trend Index (DTI)
The DTI indicator judging principle is: calculate the moving average of absolute price fluctuation over a period of time, and then divide it by the average volatility of price.
-
When DTI is higher than the overbought line, it means the current is a downward trend;
-
When DTI is lower than the oversold line, it means the current is a upward trend.
-
-
Combination
First, use the 123 reversal indicator to determine whether a price reversal signal occurs. Then, combined with the DTI indicator to determine the overall trend direction after the reversal.
This avoids the problem of false reversal caused by relying solely on reversal signals, thereby improving the stability and profitability of strategies.
Advantages
-
Double indicator confirmation avoids risks caused by false reversals
-
Combining reversals and trends strikes a balance between operational flexibility and stability
-
Large parameter optimization space, can be flexibly adjusted to adapt to different varieties
Risk Analysis
-
Setting DTI parameters requires experience, inappropriate will misjudge the trend direction
-
Reversal does not necessarily represent a new trend, there may be range-bound oscillations
-
Need effective stop loss to control single loss
Solutions: Parameter optimization test + Reasonable stop loss + Combination of other indicators
Optimization Direction
-
Test DTI parameters to find optimal parameter combinations
-
Use other indicators to filter out false reversal signals
-
Optimize stop loss strategies and find optimal stop loss points
Summary
The combo trend tracking strategy effectively determines the essentiality of price reversals and captures new trend directions through the double confirmation of 123 reversals and DTI, thereby improving the profitability of strategies. However, parameter settings and stop loss strategies still require continuous testing and optimization in order to maximize the profit space of strategies. Overall, by combining the advantages of trend trading and reversal trading, this is a worthwhile quantitative strategy to recommend.
/*backtest
start: 2023-12-25 00:00:00
end: 2024-01-01 00:00:00
period: 15m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 19/02/2020
// This is combo strategies for get a cumulative signal. - 1

