Help please divergence indi

 

hi

I have found this divergence indi on the net but i dont know why this not work. Any idea?

i-macd-div-sig.mq4

thanks

 

As far as I see it works (these are 1 hour charts)

Files:
 

do you know how this indi can work in m1 m5 period ?

I how found this in the source code but this not work for me.

Its something i must change?

case PERIOD_M1: return("M1");

case PERIOD_M5: return("M5");

case PERIOD_M15: return("M15");

case PERIOD_M30: return("M30");

case PERIOD_H1: return("H1");

case PERIOD_H4: return("H4");

case PERIOD_D1: return("D1");

case PERIOD_W1: return("W1");

case PERIOD_MN1: return("MN");

 

maybe you just have any problems with its installation?

Reason: