Announcement

Collapse
No announcement yet.

getValue question

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

  • getValue question

    Do I need to run efsExternal to get a new value from a study each time I want it to 'update' or can I just define it once then run getValue? Which is less CPU intensive? Right now I have a loop which runs this every 20 seconds:

    Filter1 = efsExternal("BT_Strategy/SF_TICKS_RANGE.efs");

    debugPrintln(" 1: $Tick: "+Filter1.getValue(0) );

    Should I only be calling
    that 'Filter1 =' ONCE when the script loads and then just using getValue(0) after that each time? Or do I need it to run efsExternal every time I want the study to update? Thanks!

    DB

  • #2
    Hi glay,

    Just once is all that is required.

    Comment


    • #3
      Thx!! I have a loop or leak somewhere. As soon as I apply the study it locks up for awhile. Im going on 5+ minutes now.

      Comment

      Working...
      X