Login Page - Create Account

Support Board


Date/Time: Mon, 03 Mar 2025 10:48:32 +0000



Help with creating alert on condition AND OR?

View Count: 713

[2021-11-03 19:14:13]
User130862 - Posts: 20
I am trying to create an alert based on conditions but I am uncertain if done correctly or if there is another way to achieve this?

What I am trying to achieve is an alert based on multiple conditions (more than 3) and if all 3 are true then it should alert (conditions inside the AND).

So what I have done is this -
=OR(AND(condition1, condition2, condition3), AND(negativecondition1, negativecondition2, negativecondition3))

Is this correct? somehow it alerts me even if the conditions are not met. Should "evaluate on bar close" be checked?

From what I have read and understood OR is used when one of the two needs to be true - in this case the first AND or the second? Is this correct?

Thanks to all!
[2021-11-03 23:23:37]
John - SC Support - Posts: 38292
The format of what you have written is correct. You would need to break down the Alert into pieces to determine where the problem is. First look at each AND individually to see if one is not setup right and dig down from there.
For the most reliable, advanced, and zero cost futures order routing, use 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