Skip to content
All library documents

Using Standard Deviation to Mark X2MA Trend Strength

Article MQL5 code base

Summary

This indicator adds a trend-strength cue to the X2MA moving average using standard deviation. When the indicator’s standard deviation exceeds a user-set threshold, it places a colored dot on the average; the dot color indicates the current trend direction. The described input is a square-law filter coefficient, which controls the threshold for displaying those markers.

The document explains the signal’s display rule but gives no trading entry, exit, or position-sizing method. It includes no chart evidence, backtest, or performance comparison, so it does not establish whether the dots improve trend identification or trading outcomes. The indicator depends on a supporting MQL library, and the short description does not specify the standard-deviation calculation or how the coefficient should be calibrated. Users would need to inspect the implementation and test the threshold on their chosen market and timeframe.

Key ideas

  • The indicator plots a dot when X2MA standard deviation exceeds a configurable threshold.
  • Dot color represents the current trend direction.
  • The threshold is controlled by a square-law filter coefficient.
  • The description supplies no entry, exit, or position-sizing rules.
  • No validation results or calibration guidance are provided.

Tags

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