Click Image To Enlarge. Please Rate And Comment.
r = Param( "First Smoothing Periods", 32, 1, 100, 1 ); s = Param( "Second Smoothing Periods", 12, 1, 100, 1 ); er = 5; sp = Param("Signnal Periods", 5, 1, 12, 1 ); eMD = EMA(EMA(C - EMA(C,r),s),er); Plot(eMD, "Ergodic MDI("+r+","+s+","+er+")", colorRed); Plot(EMA(emd,sp), "Signal("+sp+")", colorLightBlue); PlotGrid(0, colorLightGrey);