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

JSmooth MA is a Moving Average by Mark Jurik.

It has two adjustable parameters:

  • Period - calculation period
  • Applied price - calculation price

Calculations:

JSM = PrevJSM + A4

where:

A4 = (A3 - PrevJSM) * Alpha12 + Alpha2 * PrevA4
A3 = A1 + A2
A2 = (1-Alpha) * (Applied price - A1) + Alpha * PrevA2
A1 = (1-Alpha) * Applied price + Alpha * PrevA1

Alpha = 0.45*(Period-1) / (0.45*(Period-1)+2)
Apha2 = Alpha * Alpha
Alpha12 = (1-Alpha) * (1-Alpha)

MetaTrader Experts, Indicators, Scripts and Libraries

22996