Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 17:57:04 +0000



question

View Count: 408

[2022-09-09 17:11:22]
User427561 - Posts: 217
settings: the color selectios for a study is > or<, +or-, none ,etc.
My understanding is the th+- refers to if the study value is abve or below 0zero
is this correct ?
if not what does +- refe to?
I would like the color of a study to depnd on whether this study is above or below another study on the same chart.
How do I program that?
specifically I would like the color of the 5 bar trend line to be yellow if it were above the 10 bar trendlinr an red if it were below the 10 bar line
How do I program that
Thank you
[2022-09-09 17:34:54]
John - SC Support - Posts: 37827
settings: the color selectios for a study is > or<, +or-, none ,etc.
My understanding is the th+- refers to if the study value is abve or below 0zero
is this correct ?
if not what does +- refe to?

We assume you are referencing the Auto-Coloring for a Subgraph. As such, the "Based on +/-" means what you think, it colors the primary color when the value is positive and colors it the secondary color when the value is negative.

I would like the color of a study to depnd on whether this study is above or below another study on the same chart.
How do I program that?

You would need to use the Color Bar Based on Alert Condition[/b] study to do this. Refer to the information here:
Color Bar Based on Alert Condition

specifically I would like the color of the 5 bar trend line to be yellow if it were above the 10 bar trendlinr an red if it were below the 10 bar line
How do I program that

Since it is just the 2 colors, you would set the base color to be either Red or Yellow for the 5 bar trend and then use the Color Bar Based on Alert Condition to color it the other way.

For the future, if you wanted a third condition, then you would use 2 copies of the Color Bar Based on Alert Condition, such as one to color it yellow, one to color it red, and then the base condition of some color when it is the same value (for example).
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