Skip to content
All library documents

Price Channel Levels from Rolling Highs and Lows

Article MQL5 code base

Summary

This indicator defines a price channel using the highest bar value and lowest bar value over a specified number of bars. It computes the center line as the average of those two boundaries. The display also presents the current channel levels as price labels and identifies a signal type intended to support trading decisions.

The document describes the indicator’s construction, but it does not specify the lookback length, the rules behind its signal types, or how a trader should act on them. It provides no historical test, performance results, or risk guidance, so the channel should be understood as a technical reference tool rather than a validated strategy. The description notes that the indicator originated in MQL4 and was published in 2015; those details do not establish its effectiveness across markets or time periods.

Key ideas

  • The channel’s upper boundary is the highest bar value across a chosen lookback.
  • The lower boundary is the lowest bar value across that same lookback.
  • The center line is the average of the upper and lower boundaries.
  • The indicator displays current levels and a signal classification, but does not define signal rules.

Tags

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