Run indicator faster than tick

 

Hello! I use a for loop on my indicator and I wonder if there is any way to run all the loops at once, instead of having to wait for every tick running each loop. As of this moment, the buffers plotted on chart take extremely long time to fully load.

for (int i = 0; i < rates_total; ++i)

{

    if (condition)
        if (line[i] > line[i+1])
            line[i] = Close[i];

        else

            condition=false;

}

Thank you in advance!

 
Axel D: run all the loops at once, instead of having to wait for every tick running each loop.

Why? Nothing has changed. Nothing (except TimeLocal) will ever change, until the next tick.

 
Maybe I'm missing something here. But I wanted to have the for loop run all the times it should run, without depending on the next tick.
 
Axel D: Maybe I'm missing something here. But I wanted to have the for loop run all the times it should run, without depending on the next tick.

"All the times it should run," is once per tick. What part of "nothing is changing" is unclear to you?

Reason: