Type/to search

Bollinger Band Breakout Trading Strategy

Cryptocurrency
Created: 2023-09-12 16:23:12
Last modified: 3 years ago
1
Follow
1781
Followers

This strategy trades the price breakout of Bollinger Bands. It aims to capture trend opportunities from channel breakouts.

Strategy Logic:

  1. Calculate Bollinger Bands with n-period moving average as midline and volatility bands above and below.

  2. Enter short when price breaks down below lower band. Enter long when breaking above upper band.

  3. Set stops outside opposite band for risk control.

  4. Adjust band width based on max drawdown for parameter optimization.

  5. Add volume filter to avoid false breakouts.

Advantages:

  1. Breaking bands effectively identifies trend turns.

  2. Bollinger parameter optimization is simple and practical.

  3. Volume filter improves quality by avoiding falseouts.

Risks:

  1. Lagging bands may miss best entry timing.

  2. Post-breakout reversals are common, requiring reasonable stops.

  3. 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.

Source
Pine
/*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)
Strategy parameters
Strategy parameters
Length
R
Auto Adjust R
Step in R
Base Year
Volume Threadhold
Include Long
Include Short
Enable Position Sizing
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)