Announcement

Collapse
No announcement yet.

405 minute bars

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 405 minute bars

    On a 405 minute bar, 930-1615, I have a portion of the EFS I only need to run once per bar - on historical as well as the current bar.

    I must be getting rusty, because I cant remember how to isolate the code to run just once a day and not on every iteration of the EFS.

    Can someone remind me?

    Thanks.

  • #2
    I added

    if (getBarState()==BARSTATE_NEWBAR){} before and the EFS wouldn't work.

    Once i defined the vars in the segmented section, the code seems fine.

    Thanks.

    Comment

    Working...
    X