Type/to search

Directional Trend Index Trading Strategy

Cryptocurrency
Created: 2023-09-18 17:07:55
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This strategy uses the Directional Trend Index (DTI) to determine price trend direction for trend following trades. DTI compares the change in highest and lowest prices over a period to judge the trend, with upper and lower thresholds generating signals. Go long when DTI crosses above upper band, and short when crossing below lower band.

Strategy Logic

Calculate price change value from highest and lowest price changes over a period. Apply multiple exponential moving averages to this to derive the DTI curve. Set upper and lower thresholds for DTI. When the indicator crosses above the upper threshold, a long signal is generated. Crossing below the lower threshold gives a short signal. Hold position until next signal occurs.

Advantages

  • DTI accurately determines trend direction with fewer signals
  • Thresholds filter insignificant breakouts avoiding noise trades
  • Continuously following trends, unaffected by short-term fluctuations
  • Large parameter tuning space to balance responsiveness

Risks

  • Trend reversal points cannot be accurately determined, risks losses
  • Poor DTI parameter tuning risks missing opportunities
  • Prolonged holding may result in larger drawdowns
  • Low trade frequency unsuitable for high frequency trading

Risks can be mitigated by shortening calculation period, adjusting thresholds, or adding reversal indicators.

Enhancements

  • Test different parameter combinations for calculating DTI
  • Optimize long/short threshold levels
  • Consider adding stop loss strategies to control risk
  • Test robustness across different products

Conclusion

DTI strategy accurately determines trend direction from clear signals, enabling steady long-term profits. Further refinements like parameter optimization can make it a high-quality trend following system.

Source
Pine
/*backtest
start: 2023-08-18 00:00:00
end: 2023-09-17 00:00:00
period: 4h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=2
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 29/03/2017
// This technique was described by William Blau in his book "Momentum,
Strategy parameters
Strategy parameters
r
s
u
OS
OB
Trade reverse
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)