Support Board
Date/Time: Thu, 16 Jan 2025 23:36:36 +0000
Indicator COLOURS - only two?
View Count: 1273
[2017-12-05 15:53:10] |
michelh - Posts: 159 |
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: 104368 |
For this you need to use this Subgraph color array: ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DataColor[] 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: ACSIL Interface Members - sc.Input Array: sc.Input[].SetColor() 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 Date Time Of Last Edit: 2017-12-05 19:06:55
|
To post a message in this thread, you need to log in with your Sierra Chart account: