Announcement

Collapse
No announcement yet.

live with ticks?

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

  • live with ticks?

    I am trying, and kind of failing at it, to tell a script when data is live ticks rolling in instead of historical bar data when first loading.

    I have tried isLastBarOnChart but obviously that is not sufficient.

    Will BARSTATE_CURRENTBAR do the job? Is this only ever true off incoming TICK data and not historical bar data?

    Thanks,
    Mboy...

  • #2
    Re: live with ticks?

    Hello mitboy,

    Originally posted by mitboy
    I am trying, and kind of failing at it, to tell a script when data is live ticks rolling in instead of historical bar data when first loading.

    I have tried isLastBarOnChart but obviously that is not sufficient.

    Will BARSTATE_CURRENTBAR do the job?
    Yes.

    Is this only ever true off incoming TICK data and not historical bar data?
    That is correct.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment

    Working...
    X