This indicator forecast the future movement of highest and lowest prices depending on similar movement in the past by weighted mean. It calculates squares of the difference between current bars and past bars to decide the similarity.
- BasePeriod — Number of basement bars to forecast
- ForecastPeriod — Bars to forecast
- Samples — Period to check similarity to the current movement
- BaseElements — Number of elements to choose for forecasting