Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 04:49:49 +0000



Post From: Alerts: If Then Else Construct?

[2018-06-29 18:08:18]
Sierra Chart Engineering - Posts: 104368
Yes, you just have to string multiple IF statements together. This is the same way you would do it in Excel.

For example, if A > B then 1, else if B > C, then 2, else 0 would be written as:
=IF(A > B, 1, IF(B > C, 2, 0))
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