Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 01:45:46 +0000



How do I comment out alert code to use later?

View Count: 1410

[2014-03-26 14:41:46]
MonteCarlo64 - Posts: 23
If I cannot comment out the alert code below using { } or // then how do I do it?
=or(ID3.SG4 <= 32000,ID3.SG4>=35000)
[2014-03-26 15:29:05]
Sierra Chart - Max - Posts: 5731
You can AND in a comparison that is obviously false. Therefore, your example will look like this:
=AND(0,OR(ID3.SG4 <= 32000,ID3.SG4>=35000))
Sierra Chart Support
Date Time Of Last Edit: 2014-03-26 18:09:00
[2014-03-26 17:50:13]
MonteCarlo64 - Posts: 23
You did not answer the question. Which is: How do I comment out ANY code that I want to leave in the alert condition but NOT use (make it ignorable) while using another line of code?
[2014-03-26 18:09:17]
Sierra Chart Engineering - Posts: 104368
This is not supported.
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