Type/to search

Dual Channel Tracking Reversal Strategy

Cryptocurrency
Created: 2023-11-02 16:31:50
Last modified: 3 years ago
1
Follow
1778
Followers

img

Overview

The Dual Channel Tracking Reversal strategy is a reversal trading strategy that combines Bollinger Bands, Keltner Channels, and momentum indicators. It identifies price compression zones through the synthesis of Bollinger Bands and Keltner Channels, and utilizes momentum indicators to determine reversal signals for entry and exit.

Strategy Logic

  1. Calculate the middle, upper and lower bands for Bollinger Bands

    • Middle band uses SMA of close
    • Upper and lower bands are middle band ± adjustable standard deviation multiple
  2. Calculate the middle, upper and lower bands for Keltner Channels

    • Middle band uses SMA of close
    • Upper and lower bands are middle band ± adjustable ATR multiple
  3. Determine if Bollinger Bands are inside Keltner Channels

    • Squeeze on when lower BB > lower KC and upper BB < upper KC
    • Squeeze off otherwise
  4. Calculate the linear regression slope val of close against BB and KC midpoints

    • val > 0 indicates close is increasing, val < 0 means decreasing
  5. Calculate the ROC and EMA of ROC for close

    • Determine if change rate exceeds adjustable threshold
    • Above threshold indicates existing trend
  6. When in squeeze, long when val > 0 and ROC exceeds threshold

    • Vice versa for short
  7. Set stop loss and take profit conditions

Advantages

  1. Improved accuracy by combining dual channel system for reversal

  2. Avoid false signals using linear regression and change rate

  3. Flexible adjustable parameters for optimization across products

  4. Effective risk control per trade with stop loss/take profit

  5. Sufficient backtest data to validate strategy viability

Risks and Solutions

  1. Squeeze does not always lead to effective reversal

    • Optimize parameters and tighten squeeze criteria
  2. False breakouts generate wrong signals

    • Add linear regression to determine trend direction
  3. Stop loss too wide leading to excessive single loss

    • Optimize stop loss points and control per trade loss
  4. Insufficient test periods

    • Expand testing into more periods to prove long-term viability

Enhancement Opportunities

  1. Parameter optimization for more products

  2. Add machine learning for support/resistance identification

  3. Incorporate volume change to improve breakout validity

  4. Perform multi-timeframe analysis for trend persistence

  5. Optimize dynamic stop loss/take profit

Conclusion

The Dual Channel Tracking Reversal strategy utilizes indicators like Bollinger Bands and Keltner Channels for reversal trading. With parameter optimization, it can be adapted across different products to identify breakout validity to some extent. But reversal trading still carries inherent risks, requiring further incorporation of machine learning etc. to improve accuracy for steady excess returns.

Source
Pine
/*backtest
start: 2023-10-02 00:00:00
end: 2023-11-01 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
// Credit for the initial Squeeze Momentum code to LazyBear, rate of change code is from Kiasaki
strategy("Squeeze X BF 🚀", overlay=false, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.0)
Strategy parameters
Strategy parameters
Backtest Start Year
Backtest Start Month
Backtest Start Day
Backtest Stop Year
Backtest Stop Month
Backtest Stop Day
BB Length
BB MultFactor
KC Length
KC MultFactor
Use TrueRange (KC)
roclength
pcntChange
Stop Loss %
Take Profit %
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)