Announcement

Collapse
No announcement yet.

efs study on tick charts

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

  • efs study on tick charts

    I use a 233T interval quite often in advanced charts and am trying to develop an efs study that will show a countdown of how many ticks are left in the current bar.

    What I do is set a global variable to 233 when the current bar state is BARSTATE_NEWBAR and then decrement it each time the main() is called until a new bar. This seems to work ok, but the first bar is inaccurate because I could not find a function that returns the number of ticks in the current bar.

    Does anyone know a solution or do I have to just wait for the first bar to finish?

    Thanks,
    Dana

  • #2
    I think you need to wait for the first to to finish

    Comment


    • #3
      That's kinda what I thought too.

      thanks,
      Dana

      Comment

      Working...
      X