Creating Lagrange Polynomials from Detected or Selected Points
Summary
The document describes two ways to construct a Lagrange polynomial in an indicator tool. One option detects local maxima and minima automatically and uses those points as the basis for the polynomial. The other builds the polynomial from points chosen by the user with an arrow tool. It also notes that the relevant object names must match the indicator's parameter setting.
This is a brief usage note rather than a full explanation of polynomial interpolation. It does not specify how many points to select, how the polynomial is used to generate trading signals, or what parameters and markets are appropriate. No examples, charts, or performance evidence are supplied. Because polynomial fits can depend strongly on the selected points, users would need to inspect the implementation and test for instability or misleading fits before treating its output as a trading signal.
Key ideas
- The automatic option identifies local highs and lows to define polynomial points.\nThe manual option uses points selected by the user with an arrow tool.\nObject names must correspond to the indicator's configured parameter.\nThe document gives no trading rules or performance evidence for the polynomial.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.