Skip to content
All library documents

Polynomial and Sinusoidal Extrapolation for a Trading Indicator

Article MQL5 code base

Summary

The document describes an indicator that constructs a sliding line using fourth-degree polynomial interpolation, then extrapolates it with a sine wave. It refers to alternative shapes for the extrapolated line, including nearly constant behavior and a slanted form, and describes combining axial and sinusoidal values to build a further line of extrapolated values. Some wording about the line’s power and construction is unclear in the supplied translation.

Several parameters control the extrapolation degree, how values are removed or selected relative to the axial and sinusoidal curves, the resulting line’s shift, and an interval multiplier. The document mentions examples and refinement through difference calculations, but gives no formulas, charts, market tests, or evidence of predictive value. It therefore describes an indicator construction concept rather than a validated trading strategy; the effects of parameter choices and suitability across instruments remain unspecified.

Key ideas

  • The indicator uses fourth-degree polynomial interpolation to form a sliding line.
  • It extrapolates the constructed line using a sinusoidal component.
  • A parameter controls whether values are taken from an axial curve, a sinusoid, or a mirrored point.
  • Other settings alter extrapolation degree, line shift, and interval scaling.
  • The document provides no empirical evidence that the indicator predicts prices.

Tags

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