Three Bar and Four Bar Breakout Reversion Strategy
Overview
The Three Bar and Four Bar Breakout Reversion strategy identifies three or four K-line bars with strong momentum, and takes counter-trend trades after several small-range K-bars form support/resistance levels and reversal signals emerge. It belongs to mean-reversion strategy.
Strategy Logic
The core identification logic of this strategy includes:
-
Recognize large-range bars (Gap Bars): Break 1.5 x ATR, with a body percentage above 65%. They are considered to have strong momentum.
-
Recognize low-range bars (Collecting Bars): One or two subsequent small-range bars following Gap Bars, with high/low levels close to those of Gap Bars. They represent slowing momentum and consolidation, forming support/resistance levels.
-
Recognize reversal signal bars: If a bar breaks through the high/low of previous bars after consolidation, it can be considered a reversal signal. We take positions based on the direction of the signal bar.
-
Stop loss and take profit: Set stop loss below/above Gap Bar's low/high points. Take profit is determined by multiplying risk-reward ratio with stop loss distance.
Advantage Analysis
The main advantages of this strategy:
-
Identify trends and reversals using raw price action, no indicators needed.
-
Strict rules on Gap Bars and Collecting Bars ensure accuracy in capturing real trends and consolidations.
-
Judging reversal bars by bodies reduces false signals.
-
Each trade only takes 3-4 bars. High frequency with short holding period.
-
Clear rules on stop loss and take profit makes risk management easier.
Risk Analysis
The main risks:
-
Relying on parameter settings. Loose parameters increase false signals and losing trades.
-
Vulnerable to fake breakouts and unable to filter out all false signals.
-
Risk of being trapped in consolidations after failed breakout attempts. Difficult to cut loss in such cases.
-
Wide stop loss range means large losses on occasion when trapped.
To reduce risks:
-
Optimize parameters for Gap Bars and Collecting Bars identification.
-
Add filters such as confirmation bars before entering positions.
-
Optimize stop loss algorithms to make them more adaptive.
Optimization Directions
Main optimization directions:
-
Add composite filters to avoid false breakouts, e.g. requiring increase in volume.
-
Combine with moving averages, only taking signals when key MA levels are broken.
-
Require agreement across multiple timeframes before entering trades.
-
Dynamically adjust profit targets based on market volatility and risk preference.
-
Combine with market regime identification system, only enable strategy in trending environments.
These optimizations can further improve stability and profitability.
Conclusion
The Three Bar and Four Bar Breakout Reversion strategy aims to capture high-quality trending moves and reversal trades. It has the advantage of short holding periods and high frequency. There are also inherent risks that need to be reduced through continued optimization. By effectively identifying self-contained trend and reversal signals from raw price action, this strategy warrants further research and application.
/*backtest
start: 2023-12-10 00:00:00
end: 2023-12-17 00:00:00
period: 5m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
strategy(title="Three (3)-Bar and Four (4)-Bar Plays Strategy", shorttitle="Three (3)-Bar and Four (4)-Bar Plays Strategy", overlay=true, calc_on_every_tick=true, currency=currency.USD, default_qty_value=1.0,initial_capital=30000.00,default_qty_type=strategy.percent_of_equity)
frommonth = input(defval = 1, minval = 01, maxval = 12, title = "From Month")- 1

