Skip to content
All library documents

Holt-Winters Channel Using Smoothed Trend and Adaptive Dispersion

Article MQL5 code base

Summary

The HWC indicator is described as a channel around a Holt-Winters moving average. Its upper and lower boundaries are formed by adding and subtracting a scaled estimate of dispersion from the central average. The moving average uses parameters for smoothing the series, assessing trend, and assessing seasonality; additional inputs control the channel's dispersion update, width multiplier, and applied price.

Dispersion is estimated recursively: the prior variance is adjusted using a decay term and the squared difference between the prior price and prior Holt-Winters average. The channel width is the square root of that variance multiplied by the selected width factor. The document provides formulas and parameter roles, but no trading rules, sample settings, market examples, or performance evidence. It therefore explains the indicator's construction without establishing how well it forecasts prices or how its parameters should be selected.

Key ideas

  • The channel is centered on a Holt-Winters moving average that models level, trend, and seasonality.
  • Its upper and lower bounds offset the central average by a scaled dispersion estimate.
  • Dispersion is updated recursively from the previous variance and squared price deviation.
  • The user selects smoothing, channel, multiplier, and applied-price inputs.
  • The formulas describe construction but provide no evidence of trading performance.

Tags

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