Type/to search

Breakout Strategy with Confirmation on Multiple Time Frames

Cryptocurrency
Created: 2023-12-15 12:16:55
Last modified: 2 years ago
1
Follow
1778
Followers

img

Overview

This strategy combines the breakout signals from the 4-hour and daily timeframes and verifies the candlestick patterns before issuing trading signals, thus implementing a more reliable breakout trading strategy.

Strategy Logic

The dual confirmation breakout strategy combines the breakout signals from the short timeframe and long timeframe and identifies more efficient breakout points considering the consistency between long-term and short-term trends. Specifically, this strategy calculates moving averages on both 4-hour and daily timeframes. The buying signal is generated when the short-term MA crosses over the long-term MA, and vice versa for the selling signal. In addition, this strategy also verifies the candlestick pattern of the current bar before issuing trading signals to avoid opening positions during nasty price actions.

Through the mechanisms of dual confirmation and candlestick filtering, the risks of long liquidation or short traps can be effectively avoided, thus improving the quality of trading signals.

Advantage Analysis

  1. Dual timeframe breakout improves signal quality. The combination of short-term and long-term timeframes enables the signals to track short-term trends while still referring to long-term trends.

  2. Candlestick pattern verification avoids false signals. Validating the candlestick pattern before signals can filter out some fake or aberrant breakouts and prevent losses.

  3. Automated optimization provides flexibility. The breakout parameters and cycle parameters of this strategy are customizable for users to select the optimal parameter combination according to different trading products and market conditions.

Risk Analysis

  1. The dual breakout strategy has relatively weak trend chasing capability against extreme price spikes. When drastic price actions occur simultaneously on both short and long timeframes, this strategy may miss the optimal entry point.

  2. The candlestick verification mechanism may miss some opportunities. In extreme market conditions, candlesticks often exhibit distortions, and the verification mechanism makes the strategy more conservative, thus missing some chance.

  3. Improper parameter settings can also generate false signals. Users need to select appropriate parameters for the dual breakout and candlestick components based on the specific product, otherwise the performance of the strategy would be compromised.

To address these risks, methods like parameter tuning, stop loss/profit setting can be adopted for improvement and optimization.

Optimization Directions

  1. Add volatility index to secondary verify the breakout signals. For example, breakout signals issued when BB is squeezing tend to have higher quality.

  2. Add stop loss/profit modules. Proper configuration helps lock in profits and cut losses proactively.

  3. Optimize the dual breakout parameters. The parameters can be adjusted according to the characteristics of the product such as intraday and daily volatility.

  4. Optimize K line verification parameters. Different combinations of cycle and parameters for K line verification can produce more stable results.

Conclusion

The dual confirmation breakout strategy strikes an efficient balance between capital efficiency and signal quality by combining dual timeframes and K line verification mechanisms, making it a recommended short-term breakout strategy. Users can adjust relevant parameters according to their own needs for better results.

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

//@version=2
strategy("breakout ", overlay=true)
tim=input('1440')
sim=input('370')
Strategy parameters
Strategy parameters
tim
sim
BB Length
BB MultFactor
KC Length
KC MultFactor
Use TrueRange (KC)
Fast MA Type: SMA, EMA, WMA, VWMA, SMMA, DEMA, TEMA, HullMA, TMA, ZEMA ( case sensitive )
Moving Average Length
Moving average Source
hidefractals
hidelevels
Use Fractal S/R Cross Patterns
Use Dark Cloud Cover Patterns
Use Piecing Line Patterns
Use Engulfing Candle Patterns
Use Harami Candle Patterns
Use Defined PinBar Patterns
Directional PBars, % of Range of Candle the Long Wick Has To Be
Use CM Price Action Reversal Pin Bars
Use CM Price Action Shaved Bars
Use CM Price Action Outside Bars
Use CM Price Action Inside Bars
CM Reversal PBars, % of Range of Candle the Long Wick Has To Be
CM Shaved Bars, % of Range it Has To Close On The Lows or Highs
CM Reversal Pin Bar Lookback Length
Alert Only Patterns Following Trend
Alert Only Patterns Confirmed by MACD
MACD Fast MA Length
MACD Slow MA Length
MACD Signal Length
Check Box To Turn Bars Gray
Show Alert condition Dot
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)