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 | CA

Indicator CA (Corrected Average), also known as Optimal Moving Average. The benefit of the indicator is the fact that the current value of the timeseries must exceed the current threshold that depends on volatility for the indicator line to follow the price, avoiding false signals in the trend.

The indicator has three configurable parameters:

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

Calculations:

CA = PrevCA + k * (MA-PrevCA)

where:

MA - MA(Applied price, Period, Method)

If diff2 > Dev:

k = 1-Dev / diff2

otherwise:

k = 0
Dev = StdDev*StdDev  StdDev - Standard deviation(Applied price,Period)  diff2 = diff * diff,  diff = PrevCA - MA  

MetaTrader Experts, Indicators, Scripts and Libraries

21160

Best MetaTrader Indicators + Profitable Expert Advisors