Skip to main content

Ergodic MDI for Amibroker (AFL)

rajaswamy over 15 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 2)
  • Tags:
    oscillator, amibroker

THIS IS NOT FOR INTRADAY IT WILL GIVE GREAT RESULT FOR DELIVERY INVESTOR CAN USE THIS

I GOT FROM

http://www.niftyclinic.blogspot.com/

Screenshots

Indicator / Formula

Copy & Paste Friendly
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);

2 comments

over 15 years ago

Can you please help me with an AFL for calculating closing price for macd to cut the signal line in the opposite direction at the closing of the next bar.Regards.

over 15 years ago

The name of this indicator is in fact “ERGODIC MDI” from William BLAU. This is how it has to be called.

Leave Comment

Please login here to leave a comment.