Announcement

Collapse
No announcement yet.

tick data problem

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

  • #16
    Hello Paul,

    one last question, will this "T" time template now make tick data accessible to efs e.g. if I use this in a 5 minute chart

    var tickbars = 20;
    var ticksymbol = getSymbol() + ",10T";
    var tickhistory = getValue("Close", 0, tickbars, ticksymbol);

    without the actual tick chart
    The time template is irrelevant in this case, but what you're asking here is possible. You just need to make your tickbars value negative if you use a bar offset of 0. Your current code example is looking for the 20 tick bars into the future. Keep in mind this is only good when you are at bar 0. You will have a time synchronization issue on historical bars during the loading process.
    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