ZIGZAG-FRACTALS always return zero

 

This code is placed inside an EA.


Why Fractal is always zero???

Period_M15

-------------------------

int start(){


if(Time[0]==TimeCurrent()){
Print("Fractal: ", iCustom(NULL, 0, "ZIGZAG-FRACTALS", 0,1));
}

return(0);
}