Login Page - Create Account

Support Board

Date/Time: Tue, 28 Nov 2023 14:14:54 +0000

How do I comment out alert code to use later?

View Count: 1272

[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: 5411
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:

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 Page - Create Account