Skip to content
All library documents

Using Standard Deviation to Filter XXRSX Trend Signals

Article MQL5 code base

Summary

This document describes an XXRSX indicator augmented with a trend-strength display. It calculates the standard deviation of the indicator and compares that value with a configurable threshold. When the deviation exceeds the threshold, the chart places a colored dot on the moving average; the dot’s color reflects the current trend direction. The stated purpose is to make stronger directional conditions visually distinct from weaker ones.

The description identifies a square-law filter coefficient input and points to a supporting smoothing-algorithm library, but it does not explain the full XXRSX calculation, how the standard deviation is estimated, or how the threshold should be selected. No chart details beyond a figure caption, market examples, performance results, or trading rules are included. The dots therefore serve as a configurable indicator filter or visualization, not a demonstrated standalone strategy, and users would need to assess its behavior on their own data.

Key ideas

  • The indicator compares XXRSX standard deviation with a user-set threshold.
  • Exceeding the threshold triggers a colored marker on a moving average.
  • Marker color indicates the current trend direction.
  • The document gives no validation results or guidance for choosing the threshold.

Tags

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