Skip to content
All library documents

Three-Timeframe Bollinger Band State Transitions for Spot Trading

Article Strategy library · Author: 区班量化

Summary

The strategy assigns Bollinger Band position to eight states on each of three timeframes. The largest timeframe provides directional context, the middle timeframe guides operations, and the smallest is intended to signal when a move may be ending. The author suggests spacing adjacent timeframes by a factor of six to eight and describes classifying combinations of the three states to guide entries, exits, and stops. The example code uses daily and hourly bands and adjusts spot exposure in steps based on changes in the daily state and the current hourly state.

The article reports an initial backtest annualized return of 29 with a 36% drawdown, followed by a revised result of 210 annualized return and 16.4 drawdown after dozens of iterations. It attributes improvements to selling in falling markets, incorporating a five-day moving average, responding to sharp drops outside the bands, and acting when the rationale for a rise fails. These are author-reported results, not independently supported evidence. The published code also appears incomplete or inconsistent, including an undefined hourly band-width variable and a currency setting that conflicts with the stated ETH market, so the results and implementation merit verification.

Key ideas

  • The method categorizes price relative to Bollinger Bands into eight states on each of three timeframes.
  • The largest timeframe indicates direction, while the middle timeframe is used to guide operations.
  • The smallest timeframe is proposed as a signal for a trend pause or termination, though the sample code does not implement it.
  • The author reports improved returns and lower drawdown after iterative changes, but supplies no independently validated results.
  • The published implementation contains apparent inconsistencies that should be resolved before relying on it.

Tags

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