Announcement

Collapse
No announcement yet.

alert.email() = only working once

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

  • alert.email() = only working once

    I've written a function that calls Alert.email().

    The emails work but only in the first pass of "function main".

    I know that that function main is otherwise running well for each bar - as my indictors change color and plot correctly.

    Alert.email() does not work - except on the very first bar in the series (the first bar being the historic first and not the active-current bar)

    Any ideas what is wrong?

    Cheers, E.

  • #2
    Re: alert.email() = only working once

    eparks
    As far as I know alerts are executed only on bar index 0 so I am not sure how you are getting your alert to execute on the oldest bar in the chart.
    You may want to post the script you are using so that others can check what the issue may be.
    Also what version of eSignal are you using?
    Alex


    Originally posted by eparks
    I've written a function that calls Alert.email().

    The emails work but only in the first pass of "function main".

    I know that that function main is otherwise running well for each bar - as my indictors change color and plot correctly.

    Alert.email() does not work - except on the very first bar in the series (the first bar being the historic first and not the active-current bar)

    Any ideas what is wrong?

    Cheers, E.

    Comment

    Working...
    X