Announcement

Collapse
No announcement yet.

Offline Back Testing?

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

  • Offline Back Testing?

    I seem to be experiencing problems running formulas that rely on data at bar 0. The crashes and hangs start happening when pre-market activity begins to pick up on the symbol I am testing. I tried using setComputeOnClose(), but that basically stops reading data at bar -1, so I have to adjust the code. This can work, but when I want to use that script to read bar 0, I must change it back (or do something trickier in the code, I guess). Is there another way to ingore incoming data and basically work offline when desired?
    pa-kay

  • #2
    Hello pa-kay,

    Please post a code example and a more detailed description of what your need to accomplish and I'll try to help find a solution.
    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


    • #3
      Instead of testing for bar index == 0 or ==-1, try using:

      isLastBarOnChart()

      You may have to be on a more recent version of eSignal to use this though.

      Comment

      Working...
      X