LSMA – indicator MetaTrader 5

Fig.1 The LSMA indicator
The real author: mandor. A typical Moving Average which can use all methods of the technical analyses as the simple Moving Average. The advantage of this indicator in comparison with the classic Moving Averages perhaps can be distinguished only using it in the Expert Advisors. This indicator was first implemented in MQL4 and published in … Read more

LSMA – indicator MetaTrader 5

LSMA - indicator for MetaTrader 5
A Moving Average calculated by the least squares method. The indicator has two input parameters: Period – calculation period; Applied price – price used for calculations. Calculation: LSMA[i]=Sum/L2 where Sum[i] = (Period – N)*Price[i] + (Period – N – 1)*Price[i-1] + … + (1 – N)*Price[i-Period+1], N = (Period + 1)/3, L2 = Period*(Period + … Read more