New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Scan Alert

I am trying to figure it out how to setup 'Alert' for

1-month price closed above 10-month SMA

1-month price closed below 10-month SMA

How do I create alert?


  • Options
    I don't use the alerts, but I understand they work like scans. So, you would scan for your conditions like this:

    I am assuming you mean the current close closes above or below the sma10 for the first time.

    For the cross above, it would be

    and [monthly close x monthly sma(10, monthly close)]

    For the cross below, the terms just switch sides

    and [monthly sma(10, monthly close) x monthly close]

    I think you also need to select a group (like DOW30 or SP500) or one of your Chart Lists. You can select one from the drop downs below the alert (or scan) window. The group or list should be the very first line of your scan.

    You probably want two separate alerts, one for the cross above, one for cross below.

    Since you are asking for conditions in the monthly time frame, but scanning intraday, there may not be much advantage to using alerts rather than scans at the end of the day, which I think can be more flexible. But that is for you to decide.

    Be sure to read ALL the alerts documentation to get a feel for how they work.

  • Options
    This is an example of one of my alerts. Hope you find it helpful:

  • Options
    To create an Alert you would go to the Technical Alert Workbench on your account. You would build it using the dropdowns in the workbench.
    First you pick your group to alert or scan against. Could be a Chartlist(s) you create, or an Index(es) or sector(s) or individual stocks by name.

    Next you select the filter criteria
    The link below shows how you'd go about it.

    To change to MONTHLY prices and SMA, the link below shows how to modify

    This link shows an incredible amount of sample scan codes. An excellent primer

    The Alerts are basically the same as the Scans. If you can write the Scan, you can copy it into the Alert and vice versa and they should work exactly the same. Only important difference is that you can run a scan at any time and for any date(s) you want to. Alert is just for securities that match at the moment in the day.
Sign In or Register to comment.