Announcement

Collapse
No announcement yet.

Reload Studies not working

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

  • Reload Studies not working

    Hi,

    I'm a little formula just as a test - test.efs.
    It gets the current bar's Close and Open and returns (Open+Close)/2.

    vClose = getValue("Close", 0);
    vOpen = getValue("Open", 0);
    return ((vOpen+vClose)/2);

    I apply the formula to a chart, it seems to work the way it's supposed. Then I changes the return to

    return(0)

    to see how the chart changes. After complied the formula without any syntax error, I reload the formula to the same chart. The chart looks the same as before.

    I even tried to remove all formula and re-apply test.efs, the result is the same.

    Does anyone know what I'm doing wrong.

    Thank you in advance.

    William

  • #2
    William
    I just tried the same procedure you describe and Reload appears to be working (see animated image enclosed below)
    Are you saving the script after applying the change(s)?
    Alex

    Comment


    • #3
      Alexis,

      I didn't save it. You're right. I thought by compiling it (the check button), it is saved.

      Now, it works! Thank you.

      William

      Comment


      • #4
        William
        My pleasure and thank you for confirming that it is working
        Alex

        Comment

        Working...
        X