Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 00:21:41 +0000



20 day simple moving average alert

View Count: 2214

[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: 104368
Refer to:
Study/Chart Alerts And Scanning
Sierra Chart Support - Engineering Level

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

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[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 - 377 views
imagestudysettings.alert.PNG / V - Attached On 2019-02-08 19:00:01 UTC - Size: 21.59 KB - 406 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: 104368
We cannot help with email delivery problems. Refer to:
General Settings Window: E-mail Notifications for Alerts
Sierra Chart Support - Engineering Level

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

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[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: 104368

One, can you have multiple alert conditions for one study?
Yes. With the OR function:
Study/Chart Alerts And Scanning: OR and AND Functions


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. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account