Support Board
Date/Time: Sun, 25 May 2025 13:20:26 +0000
Change Subgraph Indicator Color via ACSIL
View Count: 519
[2023-05-28 15:23:38] |
SavantTrader - Posts: 110 |
I have a custom ACSIL study which draws (among other things) a square 8 ticks below price. Thus, the output of the subgraph for this study is the bar low price less an 8 tick offset (or 0). Thus, the output cannot be a toggle (-1, 0, +1). What I want to do is toggle the color of this square independent of subgraph output (since it will remain "low price - 8 ticks" for positioning of the square when "true"). Is there a way through ACSIL to modify the color of the subgraph item, on a bar by bar basis? Again, while still outputting price (or 0). Please see attached example for clarification. Date Time Of Last Edit: 2023-05-28 15:24:54
|
![]() |
[2023-05-28 15:26:46] |
User431178 - Posts: 687 |
You can set/change the color on a bar to bar basis using the DataColor array. ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DataColor[] |
[2023-05-28 17:30:49] |
SavantTrader - Posts: 110 |
This is working perfectly, thank you.
|
To post a message in this thread, you need to log in with your Sierra Chart account: