.

MDI Perfect Crossover System - Amibroker AFL Code

Click Image To Enlarge. Please Rate And Comment.

MDI Perfect Crossover System

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);
Previous Post Next Post