Announcement

Collapse
No announcement yet.

Prev Monthly H/L parameter incorrect

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

  • Prev Monthly H/L parameter incorrect

    On running "Prev Month Low.efs" I get the message "The parameter is incorrect." On additional clicks, eSignal crashes.

    ESignal (10.0.0 build 859) diagnostics checks out. Java has been updated (1.6.0 build 1.6.0_03-b05). The registry has been cleaned. The "Prev Week Low.efs" loads and works well. The efs is below. Suggetions?

    ********

    function preMain() {
    setPriceStudy(true);
    setStudyTitle("Prev Month Low (PML)");
    setCursorLabelName("PML");

    setDefaultBarStyle(PS_SOLID);
    setDefaultBarFgColor(Color.red);
    setDefaultBarThickness(2);
    setPlotType(PLOTTYPE_FLATLINES);
    }

    var bInit = false;
    var xLow = null;

    function main() {

    if(bInit == false){
    xLow = low(inv("M"));
    bInit = true;
    }

    var vLow = xLow.getValue(-1);
    if(vLow == null)
    return;

    return (vLow);
    }

  • #2
    Also note that "Syntax Check" is OK.

    Comment


    • #3
      it works in version 8.0 (build 782)
      no problems I've experienced - I'm not upgrading to v. 10 yet...
      kz

      Comment


      • #4
        dwatson
        The error message and subsequent crash would suggest that your computer's timezone is set to GMT + 1 (or higher)
        If that is the case then the issue you are seeing is due to a known bug. For the details see this thread which also provides an interim solution.
        Alex

        Comment


        • #5
          Computer is set to GMT+1. Thanks. I'll look at interim solution.

          Comment


          • #6
            dwatson
            You are most welcome
            Alex

            Comment

            Working...
            X