Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/7490
Two options of the calculation, which creates the Lagrange polynomial based on the reference points.camarilladt8
It is suitable for those who are too lazy to calculate the daily levels.
The chart contains the main line (the difference between the fast EMA and the slow EMA, applied to the Ticker line) and the signal line (obtained by applying the SMA to the main line).Ticker Trail
Here, the trail line is used instead of the signal line. Trail is the line that is distanced from the current price no more than the trailing length.