Results 1 to 4 of 4

Thread: Indior to update after bar close

  1. #1
    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.

  2. #2

  3. #3
    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

  4. #4
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners more information