Login Page - Create Account

Support Board


Date/Time: Sun, 26 Jun 2022 23:00:20 +0000



Alert or Automatic Mark at EMA cross over SMA and vice versa

View Count: 1130

[2014-01-15 06:37:39]
User35749 - Posts: 32
Dear Sir or Madam:
1. On CLG14 5-minute chart, is there any way that I can set an automatic mark at the EMA15 cross over SMA50 and vice versa?
2. Also on the On CLG14 5-minute intraday chart, is there any way that I can set an alert (sound and email) when the EMA15 cross over SMA50 and vice versa?
Thanks,
Van

[2014-01-15 13:48:21]
tomgilb - Posts: 3325
Try this:

Add the Color Bar Based On Alert Condition study
Put this formula on its Alerts tab:
=OR(AND(ID2.SG1[-1]>ID1.SG1[-1],ID1.SG1>ID2.SG1),AND(ID2.SG1[-1]<ID1.SG1[-1],ID1.SG1<ID2.SG1))
where ID1 is the EMA15 and ID2 is the SMA50. Edit as needed.
Also, choose an Alert Sound from the dropdown menu.

To get an email when the alert is triggered, go to Global Settings >> General Settings >> select the same Alert >> check Send E-Mail When This Alert Is Triggered >> enter your email address.

If you want to use a Draw Style other than Color Bar, set the 'Output When Condition True' to 'Use Input Data', and set the Input Data to either High or Low.


[2014-01-15 17:22:00]
Sierra Chart Engineering - Posts: 103465
1, 2. This can be done with the Color Bar Based on Alert Condition study:
http://www.sierrachart.com/index.php?l=doc/doc_TechnicalStudiesReference.html#s252
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