MDI Perfect Crossover System

MDI Perfect Crossover System
MDI Perfect Crossover System

//www.aflcode.com
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
Next Post »