Login Page - Create Account

Support Board


Date/Time: Tue, 14 Jan 2025 10:27:00 +0000



Email Alert If Touched: Trendline Vs. Moving Average

View Count: 2325

[2017-05-07 10:28:06]
User30653 - Posts: 13
Hi,

Email alerts are easy to setup and work perfectly on manual horizontal lines.

Can someone please help me how to setup the same thing for chart-studies?

more specific: if my MA 100 is touched/crossed, an automatic email alert should go out.

Sure this is super easy but can't figure it out on my own.

Many thanks
Patrik
[2017-05-09 03:53:31]
Sierra Chart Engineering - Posts: 104368
For this, you will need to set an Alert Condition Formula on the Moving Average study. Refer to this page:
Study/Chart Alerts And Scanning


There are many examples on that page.

You will want to use example 21:
Study/Chart Alerts And Scanning: Alert Formula Examples
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
Date Time Of Last Edit: 2017-05-09 03:56:20
[2017-05-12 06:10:44]
User30653 - Posts: 13
Hi again,

Using example 21 I get an error message (email address not definied) but with horizontal lines alerts the email notification just works fine.

Strange.

Thanks
Patrik
[2017-05-12 16:57:31]
Sierra Chart Engineering - Posts: 104368
We need the exact text of the message.

If this is from the Alerts Manager, then select the line on the Alerts tab and select Edit >> Copy Selection and paste it here.
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
[2017-05-12 17:40:19]
User30653 - Posts: 13
This is the code as recommended from the example link:

=OR(CROSSOVER)SG1, H) , CROSSOVER(SG1, L))


And this the error if enabled:

Alert Formula Error - Chart: GBPUSD [M] 240 Min #3 | Study: Moving Average - Simple | Error: #SYNTAX! | Formula: =OR(CROSSOVER)SG1, H) , CROSSOVER(SG1, L)) | No alert sound/email set


Thanks
Patrik
[2017-05-12 17:54:27]
Sierra Chart Engineering - Posts: 104368
You need to set the Alert Number on the Alerts tab of the Study Settings window:

Study/Chart Alerts And Scanning: Selecting a Sound for an Alert
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
[2017-05-12 18:23:25]
User30653 - Posts: 13
No matter which alert sound I select, same error. also "no alert sound" isn't working - strange

I really need that function and it is working on horizontal lines, but not on moving averages. hmm..
Date Time Of Last Edit: 2017-05-12 18:23:56
[2017-05-12 18:30:54]
Sierra Chart Engineering - Posts: 104368
Provide a screenshot of the Alerts tab of the Study Settings window.

Here are the instructions to attach it:
https://www.sierrachart.com/index.php?page=PostingInformation.php#AttachFile
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
Date Time Of Last Edit: 2017-05-12 18:31:33
[2017-05-12 18:41:36]
User30653 - Posts: 13
File attached
imageScreenshot_2.png / V - Attached On 2017-05-12 18:41:08 UTC - Size: 13.69 KB - 293 views
Attachment Deleted.
[2017-05-12 18:50:06]
User30653 - Posts: 13
I guess like this as I can't screenshot the alert tab of the study through EDIT > SCREEN IMAGES, right?
[2017-05-12 19:34:33]
Sierra Chart Engineering - Posts: 104368
The answer is yes in response to post #10.

We now see what the problem is with this formula:

=OR(CROSSOVER)SG1, H) , CROSSOVER(SG1, L))

It needs to be:

=OR(CROSSOVER(SG1, H) , CROSSOVER(SG1, L))
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