Detecting Live Consolidation Zones and Trading Their Breakouts
Summary
This indicator identifies a possible consolidation range from recent highs and lows, then tracks whether the range persists. It uses a configurable lookback to locate candidate extremes and follows changes in direction to determine whether price remains between the current zone boundaries. Once the consolidation reaches a minimum length, the code records its upper and lower bounds and displays the area on the chart. The range can extend as subsequent highs and lows update those bounds; alerts and strategy entries are triggered when price breaks beyond them.
The source exposes a lookback period and minimum zone length, and the published configuration specifies a BTC/USDT futures chart with a 45-minute period and five-minute base data. These settings illustrate an example configuration, not evidence of trading performance: no outcome statistics or comparative tests are reported. The method depends on how recent extremes and directional changes define a range, so its zones and breakout signals may be sensitive to parameter choices and market noise. The document does not specify stop-loss, profit-taking, or position-sizing rules.
Key ideas
- Recent highs and lows are used to identify candidate consolidation boundaries.
- A zone is displayed after its duration reaches the configured minimum length.
- The boundaries can update and extend while price remains within the consolidation.
- Breaks above or below the range trigger alerts and corresponding directional entries.
- The published chart settings do not establish profitability or define trade risk controls.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.