Bollinger Band Breakout Trading Strategy
This strategy trades the price breakout of Bollinger Bands. It aims to capture trend opportunities from channel breakouts.
Strategy Logic:
-
Calculate Bollinger Bands with n-period moving average as midline and volatility bands above and below.
-
Enter short when price breaks down below lower band. Enter long when breaking above upper band.
-
Set stops outside opposite band for risk control.
-
Adjust band width based on max drawdown for parameter optimization.
-
Add volume filter to avoid false breakouts.
Advantages:
-
Breaking bands effectively identifies trend turns.
-
Bollinger parameter optimization is simple and practical.
-
Volume filter improves quality by avoiding falseouts.
Risks:
-
Lagging bands may miss best entry timing.
-
Post-breakout reversals are common, requiring reasonable stops.
-
Seeking low-frequency trades in optimization can miss opportunities.
In summary, this is a typical channel breakout strategy trading Bollinger breaks. The relatively simple rules benefit optimization but lag and stop placement issues remain that impact long-term steady gains.
/*backtest
start: 2023-08-12 00:00:00
end: 2023-09-11 00:00:00
period: 2h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=2
// strategy("ChannelBreakOutStrategyV2.1", commission_type = "percent", commission_value = 0.1, calc_on_order_fills = true, overlay=true)
length = input(title="Length", minval=1, maxval=1000, defval=40)- 1
