Skip to content
All library documents

Configuring a Non-Lag Moving Average and Price-Shifted Channels

Article MQL5 code base

Summary

This document describes a non-lag moving average with adjustable calculation period, method, applied price, noise filter, and price deviation. The filter is presented as a way to alter noise handling, while the deviation shifts the indicator line vertically by a specified price amount. Applying positive and negative deviations to separate instances can create offset lines that frame a channel around the average.

The accompanying figure descriptions compare a short-period setting with and without filtering and show two offset versions of the line. These are illustrations of configuration, not evidence of predictive ability or trading performance. No calculation details, parameter-selection guidance, entry or exit rules, or backtest results are supplied, so users would need to assess the indicator and any channel use independently.

Key ideas

  • The moving average offers controls for period, method, input price, filtering, and price deviation.
  • Price deviation shifts the indicator line vertically by a price amount.
  • Two instances with opposite deviations can form channel-like boundaries.
  • The document illustrates settings but provides no formula or performance evaluation.

Tags

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