Announcement

Collapse
No announcement yet.

setComputeOnClose()

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

  • setComputeOnClose()

    Should this return some value depending on the state of the EFS Settings checkbox labelled "Make all formulas compute on close (rather than tick-by-tick)"?

    var SCOC = setComputeOnClose();
    debugPrintln(SCOC);

    I am getting a null value in the Formula Output window regardless of the checkbox setting.
    pa-kay

  • #2
    setComputeOnClose()

    setComputeOnClose()

    This function is callable from preMain() only and, when used, will force the current EFS study to only update when a new bar arrives (as opposed to updating as each new tick comes in).

    ie

    function preMain(){

    setComputeOnClose();
    }

    Comment

    Working...
    X