Login Page - Create Account

Support Board


Date/Time: Thu, 18 Oct 2018 17:21:01 +0000



Indicator COLOURS - only two?

Support Request:
[2017-12-05 15:53:10]
michelh - Posts: 143
Hi Sierra,
I have coded some basic indicators myself and have been using primary and secondary color depending on logical arguments.
This works wonderfully.

However, I am wondering if it is possible for an indicator to have 4 colors?

I see 4 distinct scenarios and would love to be able to color code them for a quick visual.

If this is possible, please let me know.
thanks
[2017-12-05 19:06:26]
Sierra Chart Engineering - Posts: 64949
For this you need to use this Subgraph color array:
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_scSubgraph.html#scSubgraphDataColor

Assuming you want to use different colors at each chart bar for a particular Study Subgraph.

For each Subgraph there is only two color settings. So if you wanted a way to change the colors through the user interface beyond the 2 available for each Subgraph, then you can use normal study Inputs for this:
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_scInputs.html#scInputSetColor
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2017-12-05 19:06:55

To post a message in this thread, you need to login with your Sierra Chart account:

Login


Login Page - Create Account