Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | ILRS MA

Integral Linear Regression Moving Average (ILRS MA).

The indicator has two input parameters:

  • Period - calculation period;
  • Applied price - price used for calculations.

Calculation:

ILRS[i] = (N*Sum1 - Sum*Sumy)/(Sum*Sum - N*Sum2) + MVA(I,N)

where

Sum = N*(N-1)*0.5,  Sum2 = N*(N-1)*(2*N-1)/6,  Sum1 = 1*Price[i-1] + 2*Price[i-2] + … + (N-1)*Price[i-N+1],  Sumy = Price[i] + Price[i-1] + … + Price[i-N+1],  MVA(i,N) – a simple moving average (SMA),  N - Period.  

MetaTrader Experts, Indicators, Scripts and Libraries

20443

Best MetaTrader Indicators + Profitable Expert Advisors