Problems with Loop

 

Hi!

Can anybody help please?

If I use in the enclosed Script the loop: while (IsStopped() == false) ...the values iBands and iCCI will not be refreshed.

It just works if I use: if (IsStopped() == false


But for better performance I want to use the loop with the while-loop. Is there a possibility to use iBands in the while-loop?

Files:
chrloop.mq4  3 kb
Reason: