Type/to search

Double Bollinger Band Breakout Strategy

Common strategy
Created: 2024-01-03 12:06:31
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

The Double Bollinger Band Breakout Strategy is a short-term trading strategy that utilizes the Bollinger Band indicator. It employs two Bollinger Bands with different parameter settings, fast and slow, to identify trading opportunities when the bands are broken up or down.

Strategy Logic

The strategy uses a fast Bollinger Band with length of 20 and standard deviation of 1, and a slow Bollinger Band with length of 50 and standard deviation of 1. When the close price breaks above the upper band of the fast Bollinger, a long position is entered using the closing price. When the close price breaks below the lower band of the fast Bollinger, a short position is entered.

Once in a position, the strategy waits for further confirmation by price breaking the upper or lower band of the slow Bollinger. In addition, the RSI indicator is used to determine the trend direction. Buy signals from upper band breakouts are only considered when RSI is above 50. Sell signals from lower band breakouts are only considered when RSI is below 50.

After positions are established, they will be closed when price breaks back inside the fast Bollinger Bands up or down.

Advantage Analysis

The main advantage of the Double Bollinger Band Breakout Strategy lies in its ability to capture small moves. By using the fast Bollinger Band to catch small breakouts and the slow Bollinger Band to filter false signals, it can profit from low-range fluctuations. The addition of RSI also helps avoid missing major trend reversals during ranging markets.

Moreover, as a momentum indicator itself, the Bollinger Band excels at detecting high volatility stages in the market, which benefits short-term trading strategies.

Risk Analysis

The major risk comes from the possibly excessive trading signals generated by the double Bollinger setup, which may fail to filter market noise effectively. This could lead to accumulated losses from erroneous trades. Also, when volatility is low, the width of the bands narrows and trading opportunities decrease.

To mitigate risks, parameters of the Bollinger Bands can be adjusted, using longer slow bands or manual confirmation of signals. Combining other indicators like MACD and KDJ may also enhance stability.

Optimization Directions

The main optimization space lies in adjusting the parameters of the Bollinger Bands and RSI. For example, testing different periods for the fast and slow bands to find the optimal combination. Or try different RSI periods to see if strategy performance can be improved.

Another direction is to add or amend stop loss logic. Currently there is no stop loss mechanism, which increases maximum drawdown risk. Adding fixed percentage or trailing stop loss could significantly improve risk-reward metrics.

Conclusion

The Double Bollinger Band Breakout Strategy is a short-term momentum trading strategy sensitive to market volatility. It captures small price moves within volatile markets when clear signals are given by the double Bollinger setup. However, further proof of reliability is needed. Through parameter tuning and adding stop loss logic, there is good potential to further improve stability.

Source
Pine
/*backtest
start: 2022-12-27 00:00:00
end: 2024-01-02 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/

// From "Bitcoin Trading Strategies: Algorithmic Trading Strategies For Bitcoin And Cryptocurrency That Work" by David Hanson.
Strategy parameters
Strategy parameters
Strategy Direction
-----------------Strategy Inputs-------------------
RSI Length
Slow BB Band Length
Fast BB Band Length
-----------------General Inputs-------------------
Use Stop Loss and Take Profit
Type Of Stop
Swing Point Lookback
Swing Point SL Perc Increment
ATR Length
ATR Multiple
Take Profit Risk Reward Ratio
Trailing Stop
Use Strategy Close Logic
Allow Direct Position Reverse
Reverse Trades
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)