Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 09:37:11 +0000



ALERT

View Count: 1029

[2014-09-09 08:56:39]
User28317 - Posts: 147
HOW WOULD YOU WRITE A ALERT WHERE THE 16 HULL MOVES ABOVE THE 25 HULL AND THE SLOPE FOR BOTH IS POSITIVE? IS IT POSSIBLE?
[2014-09-09 14:35:55]
Sawtooth - Posts: 3997
Try this:

Long:
=AND(ID2.SG1[-1]>ID1.SG1[-1],ID1.SG1>ID2.SG1,ID1.SG1>ID1.SG1[-1],ID2.SG1>ID2.SG1[-1])
Short:
=AND(ID2.SG1[-1]<ID1.SG1[-1],ID1.SG1<ID2.SG1,ID1.SG1<ID1.SG1[-1],ID2.SG1<ID2.SG1[-1])

where ID1 is the 16 Hull and ID2 is the 25 Hull; edit as needed.

[2014-09-09 19:28:47]
User28317 - Posts: 147
In that the alert involves multiple indicators, where would you put the alert? Would you create a study?
[2014-09-09 19:59:06]
Sawtooth - Posts: 3997
Because you are referencing the studies with their ID#s, you can put each alert formula on any study's Alerts tab, or on the Alerts tab of Chart Settings.

You could combine the alerts into one with this:
=OR(AND(ID2.SG1[-1]>ID1.SG1[-1],ID1.SG1>ID2.SG1,ID1.SG1>ID1.SG1[-1],ID2.SG1>ID2.SG1[-1]),
AND(ID2.SG1[-1]<ID1.SG1[-1],ID1.SG1<ID2.SG1,ID1.SG1<ID1.SG1[-1],ID2.SG1<ID2.SG1[-1]))
[2014-09-10 04:37:49]
Sierra Chart Engineering - Posts: 104368
Here is the documentation for Simple Alerts:
https://www.sierrachart.com/index.php?page=doc/doc_AlertCondAndScan.html
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