Problem with cycle

 
My problem is when I attach my indicator to main chart it does not cycle. It is successful when I compile it. I don't know why it is. Can you help me?


thank you very much
Jia Xiangxing
Reason: