Login Page - Create Account

Support Board


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



[Programming Help] - And/Or short alert study configuration help?

View Count: 389

[2020-11-28 14:27:57]
Chadly - Posts: 65
I'm wanting to put volume in my a study alert. I want to do if current or previous candle is say 50,000. Then the alert fires if either the previous or the current candle is that number.

Currently I have

AND(AND(ID6.SG1[-1]>60000), AND(ID6.SG1>60000))

Obviously this only does both. How can I make this do and/or so that it can be one or the other or even both. Basically I want the alert to engage if either previous or current is reaching this 50,000 volume mark.

Thank you!
[2020-11-28 15:03:18]
Sawtooth - Posts: 3976
Try this:
=OR(ID6.SG1[-1]>60000),ID6.SG1>60000)

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

Login

Login Page - Create Account