Type/to search

Dynamic Channel Moving Average Trend Tracking Strategy

Common strategy
Created: 2024-02-22 15:51:48
Last modified: 2 years ago
1
Follow
1802
Followers

img

Overview

This strategy is designed based on the principle of dynamic channel and moving average trend tracking. It calculates the dynamic price channel, judges the trend direction through the upper and lower rails of the channel, and generates trading signals by combining the moving average to filter price volatility. This strategy is suitable for medium and short term trend trading.

Principle

The main principles of this strategy are:

  1. Calculate dynamic price channel. The channel middle line is calculated from highest price and lowest price. The upper rail is middle line + price volatility MA, and the lower rail is middle line - price volatility MA.

  2. Judge trend direction. When price breaks through the upper rail, it is defined as bullish. When price breaks through the lower rail, it is defined as bearish.

  3. Filter noise. Use price volatility MA of a certain period to filter noise from random price fluctuations.

  4. Generate trading signals. When bullish, a buy signal is generated when close price is lower than open price in that period. When bearish, a sell signal is generated when close price is higher than open price.

Advantages

The advantages of this strategy are:

  1. Dynamic channel can capture price trend in real time.
  2. MA filter can reduce false signals.
  3. Combining trend direction and K-line entity direction to generate trading signals avoids being trapped.

Risks

The risks of this strategy are:

  1. Improper Param selection may lead to overfitting.
  2. It is easy to generate wrong signals during sideways volatility.
  3. It cannot predict extreme price fluctuations.

Solutions:

  1. Strict Param selection and testing.
  2. Add filter conditions to identify sideways.
  3. Set stop loss/profit to control risks.

Optimization Directions

The strategy can be optimized in following aspects:

  1. Test stability of different period Params.
  2. Add VOLUME or volatility indicators to judge momentum.
  3. Combine bands, channels etc. to determine entry and exit.

Summary

This strategy integrates the ideas of dynamic channel and MA trend judgment, and performs well in capturing trend directions in medium and short term. But there are still some limitations, which need further testing and optimization to adapt more market situations.

Source
Pine
/*backtest
start: 2024-01-01 00:00:00
end: 2024-01-31 23:59:59
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/


//@version=2
strategy("Noro's Bands Strategy v1.0", shorttitle = "NoroBands str 1.0", overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value=100.0, pyramiding=0)
Strategy parameters
Strategy parameters
Long
Short
Period
Color
Show Bands
Show Background
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)