Indicator not updating

 


Is there any common reason it doesn't update unless I switch timeframe and back again?

Thanks.

 
antiseptic:


Is there any common reason it doesn't update unless I switch timeframe and back again?

Tha

code?

 
The calculation loop probably has a ">0" or ">=1" ,it should be ">=0"
 
Lorentzos Roussos:
The calculation loop probably has a ">0" or ">=1" ,it should be ">=0"
You're right. I changed i <= rates_total to i < rates_total and now it's fine.  Thanks!
Reason: