Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 15:00:45 +0000



OR condition inside AND statement

View Count: 610

[2019-04-22 19:45:47]
chart_warrior - Posts: 96
Is it possible to have an OR condition inside an AND statement?
E.g.

=AND(
H[1]>H, OR(L[1]<1, L[1]>5))

This is just a random example but what I want is to have either one or the other option inside an AND condition instead of having to have another signal.
[2019-04-22 20:17:14]
Sierra Chart Engineering - Posts: 104368
Yes of course this is perfectly valid and even greater levels of complexity are possible.
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