Announcement

Collapse
No announcement yet.

Can't create alert

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

  • Can't create alert

    Hello:
    I have a formula that creates an alert based on certain criteria. It has been working for several months. Today it stopped working.

    I've tried a test formula, but even this doesn't create an alert using Alert.addToList. I can print out using debugPrintln, but I can't create any more alerts.

    Here is the test code:

    function preMain() {
    setPriceStudy(true);
    setStudyTitle("Test");
    setCursorLabelName("Test");
    }

    function main() {

    Alert.addToList("AA", "hello", Color.blue, Color.green);
    debugPrintln("hello");
    }

    Is there anything I can do about this?

    Thanks.

  • #2
    Re: Can't create alert

    jt_trader
    FWIW the formula you posted is generating Alerts at my end
    Alex




    Originally posted by jt_trader
    Hello:
    I have a formula that creates an alert based on certain criteria. It has been working for several months. Today it stopped working.

    I've tried a test formula, but even this doesn't create an alert using Alert.addToList. I can print out using debugPrintln, but I can't create any more alerts.

    Here is the test code:

    function preMain() {
    setPriceStudy(true);
    setStudyTitle("Test");
    setCursorLabelName("Test");
    }

    function main() {

    Alert.addToList("AA", "hello", Color.blue, Color.green);
    debugPrintln("hello");
    }

    Is there anything I can do about this?

    Thanks.

    Comment


    • #3
      Thanks Alex.
      At least I know that the formula works. But why does it not generate alerts on my end? The alerts worked this morning, but not any more.

      I've tried rebooting my machine, but still nothing.
      jt_trader

      Comment


      • #4
        jt_trader
        Check the settings of the Triggered Alert List [Tools-> EFS-> Alert List then right click the Triggered Alert List window]
        Alex


        Originally posted by jt_trader
        Thanks Alex.
        At least I know that the formula works. But why does it not generate alerts on my end? The alerts worked this morning, but not any more.

        I've tried rebooting my machine, but still nothing.
        jt_trader

        Comment


        • #5
          Thanks Alex. I followed your instructions and found the problem.

          In the Triggered Alert List window the setting 'Popup on Alert' was unchecked.

          I guess I must have clicked on it somehow, toggling it from ON to OFF.

          Problem resolved. Thanks very much.
          jt_trader

          Comment


          • #6
            jt_trader
            You are welcome
            Alex


            Originally posted by jt_trader
            Thanks Alex. I followed your instructions and found the problem.

            In the Triggered Alert List window the setting 'Popup on Alert' was unchecked.

            I guess I must have clicked on it somehow, toggling it from ON to OFF.

            Problem resolved. Thanks very much.
            jt_trader

            Comment

            Working...
            X