Skip to content
All library documents

Bar Statistics: Mean, Variance, Skewness, and Kurtosis

Article MQL5 code base

Summary

The indicator reports statistical characteristics of price bars: mean, variance, skewness, and kurtosis. These measures summarize a bar series through its average level, dispersion, asymmetry, and tail behavior. The page notes that several instances can be attached to a chart with different statistical methods selected in their settings, though it does not explain those methods or define the input data in detail.

Calculations update only when a new bar forms; the indicator does not recalculate during an open bar. This makes its output bar-based rather than intrabar. The document offers no formulas, chart values, trading rules, or empirical evaluation, so it describes a measurement tool rather than a strategy. Its usefulness depends on the selected calculation method and how a researcher interprets the statistics in context.

Key ideas

  • The indicator displays mean and variance as measures of bar-series location and dispersion.
  • Skewness and kurtosis summarize asymmetry and tail behavior.
  • Users can compare instances configured with different statistical methods.
  • The indicator updates on new bars and does not calculate within an open bar.
  • The description supplies no formulas or evidence linking its readings to trading performance.

Tags

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