Type/to search

Adaptive Supertrend Channel Trading Strategy

Cryptocurrency
Created: 2023-09-20 15:17:51
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This strategy builds double-layer supertrend channels and generates trading signals when price breaks through the channels. It also adapts channel width using price volatility for adaptive effect. It belongs to trend following strategies.

Strategy Logic

  1. Calculate price standard deviation and volatility ATR, use volatility to adjust channel width.

  2. Build double-layer supertrend channels, with inner layer more sensitive and outer layer more stable.

  3. Generate buy/sell signals when price breaks inner or outer channel.

  4. The double channel structure helps filter some false breakouts.

  5. ATR volatility adapts channel width, wider when volatility surges for adaptive effect.

Advantages

  1. Supertrend channels are simple and effective in tracking trends.

  2. The double channel filters false breakouts and improves signal quality.

  3. Volatility adaptive adjustment makes the channels fit different market environments.

  4. Easy to implement with simple parameter tuning.

  5. Visualized channels and breakouts form intuitive trading signals.

Risks

  1. Breakout signals may produce false signals resulting in unnecessary losses.

  2. It fails to determine trend direction, risks of counter-trend trading.

  3. Adaptive adjustment may be too sensitive, with over-adjustments.

  4. Improper parameter optimization leads to overfitting.

  5. As a trend following strategy, it struggles in range-bound markets.

Enhancement

  1. Test parameters' impacts on adaptive effect.

  2. Incorporate MA to determine major trends.

  3. Optimize breakout confirmation to avoid false breakouts.

  4. Add stop loss to limit loss per trade.

  5. Evaluate channel tuning on trading frequency.

  6. Use machine learning to dynamically optimize parameters.

Conclusion

This strategy uses adaptive double supertrend channels to capture price trends. It is simple and intuitive in tracking trends. But risks include false breakouts and incorrect trend direction. Further parameter tuning and supplementary mechanisms can improve strategy performance, making it a robust trend following system.

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

//@version=4
strategy("SuperTrend Cloud Strategy", shorttitle="SuperTrend Cloud Strategy", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100, initial_capital = 1000)

//Inputs
Strategy parameters
Strategy parameters
Multiplier
Period
Self-Adjusting
From Day
From Month
From Year
To Day
To Month
To Year
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)