Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 10:47:19 +0000



[User Discussion] - Multiple alerts

View Count: 269

[2023-12-07 23:00:40]
User930992 - Posts: 2
I have created an alert where my Numbers Bars Calculated Values alerts me when certain positive delta and volume is met. I want to also have the alert go off when the same but with negative delta is met. If I put the codes in independently they both work, but how do I add both alerts? The alert starts with =AND but do I add the other alert on a separate line? Put an , in between, add an OR? Please help.
[2023-12-07 23:31:19]
User584084 - Posts: 262
1) Duplicate the number bars calc values study to the same region. Put the positive delta alert in the 1st study. Put the negative delta alert in the 2nd study. This will give you 2 separate alerts, 1 alert for positive delta and 1 alert for negative delta. You can have 2 different alert messages.

Or

2) You can try: =OR(AND(ID2.SG1>100, ID3.SG1>10000), AND(ID2.SG2<-100, ID3.SG1>10000)) where ID2.SG1 is number bars calc values positive delta, ID2.SG2 is number bars calc values negative delta and ID3.SG1 is the volume study. This will give you 1 alert. You will not know whether it was positive delta or negative delta that triggered the alert.
Date Time Of Last Edit: 2023-12-07 23:58:25

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

Login

Login Page - Create Account