Skip to content
All library documents

Finding the Highest Price over a Configurable Bar Period

Article MQL5 code base

Summary

This document describes a technical indicator that identifies the maximum price over a user-selected period of bars. Its inputs include the lookback period and starting bar, along with settings for the plotted level’s name, comment, color, line style, and width. A setting also controls whether the level is deleted.

The material is a brief description of an indicator rather than a trading strategy or performance study. It gives no market, timeframe, test results, or guidance on how to interpret the high as a signal. Traders could use the plotted value as a reference level, but the document does not specify entry, exit, or risk rules. The description also provides no evidence that the indicator predicts future prices or improves trading outcomes.

Key ideas

  • The indicator identifies the maximum price across a configurable bar period.
  • Users can set both the lookback period and the bar from which the search starts.
  • Display options include the level’s color, line style, width, and label.
  • The document does not explain a trading rule or provide performance evidence.

Tags

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