Skip to content
All library documents

Measuring Compression Maturity and Bias with Closed-Bar Price Action

Article MQL5 articles

Summary

This article presents a closed-bar indicator that formalizes price compression analysis. It compares a recent range with a preceding reference window, then evaluates contraction, candle overlap, range tightness, boundary tests, and rejection wicks. Optional trimming reduces the influence of extreme wicks, while close-out invalidation removes a setup after a candle closes outside its range. A point-based score assigns maturity states from early development to mature compression; candle geometry, including close location and rejection asymmetry, is used separately to estimate directional bias.

The framework is intended to distinguish informative consolidation, with repeated boundary interaction and tightening structure, from narrow but inactive drift. Its visual output is presented as analytical context, not an entry signal or forecast. The article discusses common failure modes such as false breaks and noisy contractions, but the supplied material does not establish predictive performance or profitability across instruments. Users should treat maturity and bias classifications as descriptive inputs to broader analysis.

Key ideas

  • Compression quality is assessed through contraction, overlap, tightness, boundary tests, and rejection behavior.
  • Trimming extreme wicks can prevent isolated price spikes from defining the range.
  • A scoring model classifies compression maturity, while candle geometry supplies a separate directional bias estimate.
  • Closed-bar evaluation supports stable historical and live readings, but does not make the tool predictive.
  • Low-activity drift and false range breaks can resemble useful compression and require caution.

Tags

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