Login Page - Create Account

Support Board


Date/Time: Sun, 18 Aug 2019 08:34:56 +0000



20 day simple moving average alert

Support Request:
[2019-02-07 06:19:59]
User116783 - Posts: 84
Hi,

Is there a way to trigger an alert when price touches the 20 day simple moving average?

Thanks,

ZS
[2019-02-07 16:18:46]
Sierra Chart Engineering - Posts: 75204
Refer to:
https://www.sierrachart.com/index.php?page=doc/StudyChartAlertsAndScanning.php
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2019-02-07 23:27:30]
User116783 - Posts: 84
21. Alert When Moving Average Crosses over Price Bar: Enter the following Alert Condition Formula on a Moving Average study: =OR(CROSSOVER(SG1, H) <> 0, CROSSOVER(SG1, L) <> 0).

This is the one we're looking for, correct?

ZS
[2019-02-08 18:52:13]
User116783 - Posts: 84
I included the alert in the previous post under study settings, and had it set to alert 4, which was set under general settings to send an email once the alert got triggered.

In this case, once price crossed the 20 day simple moving average, which did occur today, however I never received an email.

I'm attaching two pics, please let me know if I've done things up correctly.

ZS
Date Time Of Last Edit: 2019-02-08 19:01:36
imagegeneralsettins.alert.PNG / V - Attached On 2019-02-08 18:59:55 UTC - Size: 28.37 KB - 37 views
imagestudysettings.alert.PNG / V - Attached On 2019-02-08 19:00:01 UTC - Size: 21.59 KB - 39 views
[2019-02-08 19:12:30]
User116783 - Posts: 84
Ok, I just checked my email again and I was in fact sent an alert.

However it didn't get sent until 1:45 PM EST, and price for XBTUSD crossed the 20 day moving average at 11:45 AM EST.

ZS
Date Time Of Last Edit: 2019-02-08 19:12:45
[2019-02-08 20:23:06]
Sierra Chart Engineering - Posts: 75204
We cannot help with email delivery problems. Refer to:
https://www.sierrachart.com/index.php?page=doc/GeneralSettings.html#EmailNotifications
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2019-02-09 00:50:21]
User116783 - Posts: 84
I think the problem was I didn't have Sierra Chart running when the alert was triggered

Couple of more questions.

One, can you have multiple alert conditions for one study?

For example, one alert that goes off when price gets within a range of a moving average (19th alert formula example), then a second alert when price actually crosses it (21st alert formula example).

Second, regarding the first alert formula example (Alert When Moving Average Within Range of Price Bar) what precisely does "range" mean in terms of distance from the moving average?

How close is price relative to the moving average before the alert is triggered and it sends an email?

Thanks,

ZS
Date Time Of Last Edit: 2019-02-09 01:00:04
[2019-02-11 23:02:52]
Sierra Chart Engineering - Posts: 75204

One, can you have multiple alert conditions for one study?
Yes. With the OR function:
https://www.sierrachart.com/index.php?page=doc/StudyChartAlertsAndScanning.php#ORANDFunctions


Second, regarding the first alert formula example (Alert When Moving Average Within Range of Price Bar) what precisely does "range" mean in terms of distance from the moving average?
The range is the high to low price range and it is exact. The documentation has been updated for this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

To post a message in this thread, you need to login with your Sierra Chart account:

Login

Login Page - Create Account