Skip to content
All library documents

Automated Double Top and Bottom Pattern Trading

Article Strategy library · Author: ChaoZhang

Summary

This strategy looks for double bottoms and double tops in price data and uses those patterns to trigger long and short trades. It compares current highs and lows with extrema over configurable monitoring and lookback windows, both set to 100 periods by default. The article describes price breakout conditions for closing positions and says the ZigZag indicator is intended to make patterns easier to inspect, although the supplied code has its ZigZag drawing section commented out.

The published backtest settings specify BTC_USDT futures on Binance, using three-minute bars over a one-week period in December 2024. No performance statistics are provided, so the settings alone do not establish whether the strategy was profitable. The document flags false patterns, slippage, parameter sensitivity, and lag as risks, especially in trending markets. Its suggestions include testing parameters, adding other indicators, and adjusting position size for volatility.

Key ideas

  • The strategy identifies potential double bottoms and tops by comparing price extrema across configurable windows.
  • It opens long positions on detected double bottoms and short positions on detected double tops.
  • The stated defaults for both monitoring and lookback periods are 100 bars.
  • The published BTC_USDT futures backtest settings provide no performance results or evidence of profitability.
  • False patterns, slippage, parameter choices, and indicator lag are cited as key limitations.

Tags

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