Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

JSmooth_MA - MetaTrader 5 Script - MQL5 #20446 - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

JSmooth_MA - indicator for MetaTrader 5

This indicator displays a moving average on the price chart using the JSmooth smoothing type (the smoothing type proposed by Mark Jurik).

This indicator has two input parameters:

 J5[i] = J5[i-1] + J4[i],
J4[i] = (J3[i] - J5[i-1])*(1 - Alpha)*(1 - Alpha) + J4[i-1]*Alpha*Alpha,
J3[i] = J1[i] + J2[i],
J2[i] = (Price[i] - J1[i])*(1 - Alpha) + J2[i-1]*Alpha,
J1[i] = Price[i]*(1 - Alpha) + J1[i-1]*Alpha,
Alpha = 0.45*Period/(0.45*(Period-1)+2) 

JSmooth_MA - indicator for MetaTrader 5


Attachment download

📎 jsmooth_ma.mq5 (9.17 KB)

Source: MQL5 #20446

Verification code Refresh