Skip to content
All library documents

Two-Threshold Breakout Entries from a Daily Reference Price

Article Strategy library · Author: ChaoZhang

Summary

The proposed method measures each five-minute candle's percentage change from the open recorded at 2:00 AM. Crossing an initial threshold triggers a position, with specified stop-loss and take-profit distances; a second threshold is intended to activate a further entry after the first trade encounters adverse movement. The published parameter defaults are 0.25% and 0.35% for the two thresholds, with stop and target distances of 200 and 400 pips.

The source and description do not align cleanly. The code labels a rise beyond the first threshold as a short signal and a fall as a long signal, contrary to the prose's buy-on-rise and sell-on-fall account. Its second-stage conditions also do not clearly implement the described sequence following a stop-loss, and the reference price is not explicitly reset on a new date. The backtest settings specify BTC/USDT futures, hourly strategy bars, and a 15-minute base period for October 2023, but provide no performance results. The document warns that volatility can cause repeated trades and costs, while threshold selection may cause missed or excessive entries.

Key ideas

  • The method measures percentage movement from a five-minute candle opening at 2:00 AM as its reference price.
  • An initial threshold triggers trades, while a second threshold is intended to support another entry after adverse movement.
  • The source's initial trade directions conflict with the prose: it shorts on a rise and buys on a fall.
  • The stated second-stage behavior and the code's conditions do not clearly match, and daily reference-price resetting is not explicit.
  • Published settings identify a BTC/USDT futures test period but report no performance statistics.

Tags

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