Skip to content
All library documents

Gap Entries with Pyramiding and Bracketed Take-Profit and Stop-Loss Orders

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines gap-triggered entries with reversal-related stop entries and exits based on average position price. It identifies upward gaps when the open exceeds the prior high and downward gaps when the open falls below the prior low, placing stop entries around the prior bar’s boundary. It also uses the relationship between open and close to stage entries in the opposite direction when a position is open. Take-profit and stop-loss orders are submitted as an OCA-style pair, intended to make the exits mutually exclusive. The strategy allows pyramiding and includes a configurable maximum for intraday filled orders.

The document lists a ten-minute BTC/USDT futures backtest configuration covering one week, but provides no performance statistics or results. It describes risks from slippage, frequent trading, volatile conditions, excessive capital use, and interruptions to order management. Pyramiding can amplify exposure, and the brief backtest configuration does not establish robustness. Although the prose presents an intraday order limit, the source shows its corresponding risk-control call commented out, so that limit may not be enforced by the code as published.

Key ideas

  • The strategy places stop entries around prior-bar levels when it detects an upward or downward gap.
  • It stages additional entries based on the open-to-close relationship while holding a position.
  • Take-profit and stop-loss orders are intended to operate as a mutually exclusive pair around average position price.
  • Pyramiding can increase exposure, while slippage, trading frequency, and system interruptions are identified as risks.
  • The stated backtest setup covers one week, and the source leaves the intraday filled-order control commented out.

Tags

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