Forum

Buffer won't fully load independently from 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 to update buffer value. As of this moment, the buffer plotted on chart don't fully load at once, only after a few ticks. Is there a way to have it loaded

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

Array out of range

Hello everyone! I am new to MQL4. Would love to have some help. I am trying to create an indicator and getting " Array out of range " on the code below for "var[1]". Would anyone know why? double var []; for ( int i= 0 ; i<rates_total; i++) { var [i]=Close[i]; } Any