MTF MACD do not refresh automatically
if (Time[i]<TimeArray[y]) y++;This fails when there are missing bars in TimeFrame chart. Use while not if. This is why I recommend not using the ArrayCopySeries but iBarShift.
y = iBarShift(NULL, timeframe, Time[i]);- You want to repaint all TimeFrame bar zero values
// for(i=0,y=0;i<limit;i++) for(i=0,y=0;i<limit || y == 0;i++)
Thank you WHRoeder, now it is working fine.
How this can be fixed within the indicator's code ?