Skip to content
All library documents

Using a Higher-Timeframe Setting in a Polynomial Regression Indicator

Article MQL5 code base

Summary

This brief page describes a version of a polynomial regression indicator that allows the user to select its calculation timeframe through an input parameter. The example default is a four-hour period, indicating that the indicator can be configured to use a chart period different from the one currently viewed. This can help traders inspect regression-based analysis across timeframes, although the page does not explain how the polynomial is fitted or how its output should inform a trade.

The document provides no trading rules, market examples, performance evidence, or discussion of repainting, lag, parameter sensitivity, or other limitations. Most of its remaining content concerns where to place a compiled indicator file in a trading terminal, along with generic website promotion. It is primarily an implementation note rather than a substantive strategy guide; the practical learning is limited to the indicator’s timeframe selection feature.

Key ideas

  • The indicator exposes a timeframe input for selecting the period used in its calculation.\nThe example setting uses a four-hour timeframe.\nThe page does not describe the regression method or explain how to trade its signals.\nNo performance evidence or limitations analysis is provided.

Tags

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