Login Page - Create Account

Support Board


Date/Time: Thu, 13 Feb 2025 16:17:55 +0000



Syntax highlighting in Alerts box in chart studies

View Count: 531

[2020-12-08 11:37:42]
User742917 - Posts: 5
Good morning,

is it possible to enable a basic Syntax Highlighting in the Alerts box in chart studies? Sometimes it can become complicated to keep track of the conditions especially if nested, and perhaps distributing the conditions on multiple lines would be helpful aswell.
Is it something you would consider implementing at some point?

something like (made up sample conditions please don't read into them):

= AND(
----OR(
--------AND(C>O, H>L,V>V[-1]),
--------C<O),
----OR(
--------AND(C<O, V<V[-1]),
--------H<L),
)


In the case it has already been addressed or there is a smarter way to go about it just link me to the answer, I didn't manage to find any.

Best Regards.
Date Time Of Last Edit: 2020-12-08 11:38:44
[2020-12-08 15:48:07]
John - SC Support - Posts: 37934
You can use multiple lines for the alert conditions, so you could write exactly what you did (without the dashes) and it will work. In general, whitespace is ignored as well, so you can use space or tab to help you format as well.
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