Announcement

Collapse
No announcement yet.

Alerts on Studies

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

  • #16
    setComputeOnClose and Alerts

    The alerts seem only to work for me when setComputeOnClose is off, either in the efs code or in EFS settings. For example, Alert/AlertMA.efs mouths off merrily, but goes silent when I make all formulas compute on close in EFS settings. Is this a known feature and can i work around it? I'd like alerts when setComputeOnClose is true.

    On another matter, how can I alter Alerts/AlertsMA.efs to allow the MA length to be user-adjustable. It looks like the MA study object should be created outside of main(), but I had the impression that the only way to pass parameters into the code was as arguments to main.

    Thanks,
    Sandy Morton

    Comment


    • #17
      Hi Sandy,

      You are correct. Currently all of the Alert.* functions (addToList(), email() and playSound()) only work on a tick by tick basis.

      They will not execute if setComputeOnClose() is 'true'.

      We'll see what we can do about changing this for v7.3

      Thanks!

      Comment


      • #18
        what does the code for a popup window look like

        is it in the Alert. family

        Alert.Popup("Hey sell that POS");

        Comment

        Working...
        X