Type/to search

Combo Trend Tracking Strategy

Common strategy
Created: 2024-01-02 10:41:30
Last modified: 3 years ago
1
Follow
1802
Followers

img

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:

  1. 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.

  2. 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.

  3. 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

  1. Double indicator confirmation avoids risks caused by false reversals

  2. Combining reversals and trends strikes a balance between operational flexibility and stability

  3. Large parameter optimization space, can be flexibly adjusted to adapt to different varieties

Risk Analysis

  1. Setting DTI parameters requires experience, inappropriate will misjudge the trend direction

  2. Reversal does not necessarily represent a new trend, there may be range-bound oscillations

  3. Need effective stop loss to control single loss

    ​ Solutions: Parameter optimization test + Reasonable stop loss + Combination of other indicators

Optimization Direction

  1. Test DTI parameters to find optimal parameter combinations

  2. Use other indicators to filter out false reversal signals

  3. 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.

Source
Pine
/*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. 
Strategy parameters
Strategy parameters
Length
KSmoothing
DLength
Level
r
s
u
OS
OB
Trade reverse
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)