I am running a indior that I would like to only update after the close of the pub rather than each tick.
Can anybody point me in the right way to make this happen?
A lot of thanks.
I am running a indior that I would like to only update after the close of the pub rather than each tick.
Can anybody point me in the right way to make this happen?
A lot of thanks.
Nvm, I don't need to observe the codes if it's just another typical indior.
Assuming I is the factor used for candle index iteration,
add this just BEFORE the for or while loop inside the beginning() function.
Inserted Code if (I == 0) I = 1; that way it is only going to repaint the value for the candle that has just closed and not do anything for the one that's current. Only to be absolutely sure the current candle's value doesn't get computed and drawn, you can add
Inserted Code line_buffer#91;0#93; = EMPTY_VALUE; in the end just before return(0);
terms,
Zen
Thanks. I let you know and can work on it. I appreciate it. I have used Tradestation for several years and there has been a substitute for either Update not or worth intrabar.