Skip to content
All library documents

Using Standard Deviation and ATR to Identify Squeezes and Trends

Article MQL5 code base

Summary

The document outlines an indicator that compares standard deviation with average true range to distinguish consolidation from trending conditions. It labels the market as being in a squeeze when its value is zero, which the explanation associates with standard deviation being lower than average true range. When the indicator is nonzero, it compares median price with average close to assign an upward or downward trend direction. Median price is presented as a way to reduce excessive directional signals.

The suggested use is visual: traders can interpret the presence or absence of color as a signal. The description gives no parameter settings, calculation details, chart examples, historical tests, or performance evidence, so the exact implementation and reliability cannot be assessed from this text alone. It also does not explain how to trade a squeeze, when to enter or exit, or how to manage risk. The indicator is therefore described as a market-state aid rather than a complete trading strategy.

Key ideas

  • The indicator compares standard deviation with average true range to classify market conditions.
  • A zero reading denotes a squeeze or consolidation in the described method.
  • For nonzero readings, median price relative to average close determines the trend direction.
  • Color or its absence is proposed as the visual signal.
  • The document provides no validation, parameter guidance, or complete trading rules.

Tags

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