Announcement

Collapse
No announcement yet.

(High - Low) does not work in Realtime

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

  • (High - Low) does not work in Realtime

    Why this code does not work in Realtime, you have to reload EFS everytime there is a new high or Low

    the EFS "getTodayOHLC.efs" being called comes with esignal


    function preMain() {

    setPriceStudy(false);
    setStudyTitle("High-Low");
    }

    function main( ) {
    var tHigh;
    var tLow;
    var tRange;

    tHigh = call("getTodayOHLC.efs", "High");
    tLow = call("getTodayOHLC.efs", "Low");
    tRange = tHigh-tLow;

    return tRange;
    }

  • #2
    Keto
    You may want to see this thread
    Alex

    Comment


    • #3
      Thank you very much Alexis

      You really helped me on this one and it’s not the first time.

      Your work is greatly appreciated.

      Keto

      Comment

      Working...
      X