Type/to search

Wave Trend Based Quantitative Trading Strategy

Cryptocurrency
Created: 2023-11-28 16:17:31
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This strategy is designed based on the Wave Trend indicator. The Wave Trend indicator combines price channel and moving average to effectively identify market trends and generate trading signals. This strategy enters long or short positions when the Wave Trend line crosses over key levels representing overbought or oversold status.

Strategy Logic

  1. Calculate the triangular moving average ap of price, as well as the exponential moving average esa of ap.
  2. Calculate the exponential moving average d of absolute difference between ap and esa.
  3. Derive the volatility indicator ci.
  4. Compute the n2 period moving average of ci to get the Wave Trend indicator wt1.
  5. Set overbought and oversold threshold lines.
  6. Go long when wt1 crosses above oversold line, go short when wt1 crosses below overbought line.

Advantage Analysis

  1. Wave Trend breaks of overbought/oversold levels effectively catch trend reversal points and generate accurate trading signals.
  2. Combining price channel and moving average theories, the indicator avoids frequent false signals.
  3. Applicable to all timeframes and variety of trading instruments.
  4. Customizable parameters provide good user experience.

Risks and Solutions

  1. Significant whipsaws can cause bad signals, high risk. Can use shorter holding periods or combine with other indicators for signal filtering.
  2. No position sizing and stop loss mechanisms, risks of losses. Can set fixed position size rules and moving stops.

Optimization Directions

  1. Consider combining with other indicators like KDJ and MACD to form strategy combos, enhancing stability.
  2. Design automatic stop loss like trailing stops, volatility stops to limit per trade loss.
  3. Utilize machine learning algorithms on historical data to auto tune parameters and improve strategy performance.

Conclusion

This strategy identifies trends and overbought/oversold levels using Wave Trend indicator, forming an effective trend following strategy. Compared to short-term oscillators, Wave Trend avoids false signals and provides better stability. With proper risk control methods, it can achieve steady profits. Further performance boost can be expected from parameters and model tuning.

Source
Pine
/*backtest
start: 2023-11-20 00:00:00
end: 2023-11-27 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/


//@author SoftKill21
//@version=4
Strategy parameters
Strategy parameters
Channel Length
Average Length
Over Bought
Over Sold
From Day
From Month
From Year
To Day
To Month
To Year
Long
Short
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)