This strategy represents an innovative application of the Bollinger Bands indicator, utilizing dual standard deviation bands for momentum capture. The core mechanism relies on a system of Bollinger Bands constructed using two different standard deviation levels (1SD and 2SD), generating trading signals when price breaks through the 2SD channel. Through precise mathematical modeling and statistical principles, this strategy provides traders with a systematic trading approach.
The strategy employs a 34-period moving average as the middle band, with upper and lower bands calculated using both single and double standard deviations. Buy signals are generated when price breaks above the 2SD upper band, while sell signals occur when price breaks below the 2SD lower band. The strategy includes automatic stop-loss mechanisms, closing long positions when price breaks below the lower band and short positions when price breaks above the upper band. A money management system is implemented, using 30% of account equity per trade for effective risk control.
This innovative strategy based on the classic Bollinger Bands indicator provides a trading system with both theoretical foundation and practical utility through its dual standard deviation design. While maintaining operational simplicity and intuitiveness, the strategy offers traders a reliable trading tool through rigorous mathematical modeling and comprehensive risk control mechanisms. Although there is room for optimization, its core logic is sound and demonstrates good practical value.
/*backtest start: 2019-12-23 08:00:00 end: 2024-11-27 00:00:00 period: 1d basePeriod: 1d exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}] */ //@version=5 // Baker Odeh's Strategy - Bollinger Bands : 27/SEP/2014 01:36 : 1.0 // This displays the traditional Bollinger Bands, the difference is // that the 1st and 2nd StdDev are outlined with two colors and two // different levels, one for each Standard Deviation strategy(shorttitle="Baker Odeh's Strategy - Bollinger Bands", title="Baker Odeh's Strategy - Bollinger Bands", overlay=true, currency=currency.NONE, initial_capital=30, default_qty_type=strategy.percent_of_equity, default_qty_value=20) src = input(close) length = input.int(34, minval=1) mult = input.float(2.0, minval=0.001, maxval=50) basis = ta.sma(src, length) dev = ta.stdev(src, length) dev2 = mult * dev upper1 = basis + dev lower1 = basis - dev upper2 = basis + dev2 lower2 = basis - dev2 colorBasis = src >= basis ? color.blue : color.orange pBasis = plot(basis, linewidth=2, color=colorBasis) pUpper1 = plot(upper1, color=color.new(color.blue, 0), style=plot.style_circles) pLower1 = plot(lower1, color=color.new(color.orange, 0), style=plot.style_circles) pUpper2 = plot(upper2, color=color.new(color.blue, 0)) pLower2 = plot(lower2, color=color.new(color.orange, 0)) fill(pBasis, pUpper2, color=color.new(color.blue, 80)) fill(pUpper1, pUpper2, color=color.new(color.blue, 80)) fill(pBasis, pLower2, color=color.new(color.orange, 80)) fill(pLower1, pLower2, color=color.new(color.orange, 80)) if (close > upper2) strategy.entry("Long", strategy.long) if (close < lower2) strategy.entry("Short", strategy.short) if (close <= lower2) strategy.close("Long") if (close >= upper2) strategy.close("Short")