Object is not automatically refreshing - page 2

 
cashcube:

Thanks a lot for sharing a such a nice code. Your one is well constructed. I will add this in future.

Just realized that your original request was for an indicator, but my code is for an EA. Forgive me, for that. Just adapt it for the Indicator using the "OnCalculate()" instead of the "OnTick()".
 
FMIC:
Just realized that your original request was for an indicator, but my code is for an EA. Forgive me, for that. Just adapt it for the Indicator using the "OnCalculate()" instead of the "OnTick()".
Thats ok..no problem..thanks..:)