Skip to content
All library documents

Combining Bollinger Bands and Stoch RSI for Long Entries

Article Strategy library · Author: ChaoZhang

Summary

This long-only strategy combines Bollinger Bands with Stoch RSI. It enters when price crosses upward through the lower Bollinger Band at the same time that Stoch RSI’s K line crosses above its D line. It closes a position when price moves back down through the upper band or middle basis, and the accompanying prose also describes a stop when price falls below the lower band. The source implements the band and oscillator calculations and the entry and close conditions.

The document gives default band and oscillator parameters and published backtest settings for BTC/USDT futures over a stated date range. It does not report performance statistics, and the code does not show a separate stop order: exits are triggered by the described band conditions. The prose inconsistently describes the buy trigger as an upper-band breakout in one passage and a lower-band cross in another; the supplied code uses the lower band. The author recommends parameter testing and suggests filters or trailing stops, but provides no evidence that these changes improve results.

Key ideas

  • A long entry requires both an upward cross of the lower Bollinger Band and a bullish Stoch RSI crossover.
  • The source closes longs on a downward cross of the upper band or middle band, or when price exceeds the upper band.
  • The prose describes a lower-band stop, though the code does not implement a separate stop order.
  • Published BTC/USDT futures backtest settings are provided without performance results.
  • The text recommends testing parameters across instruments and considering additional confirmation filters.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.