Support Board
Date/Time: Tue, 10 Feb 2026 17:27:25 +0000
Post From: How can a DataColor array be reset in ACSIL
| [2025-12-27 20:13:15] |
| Sierra_Chart Engineering - Posts: 22781 |
|
What you would like to do in this situation is to unset (de-allocate) the DataColor array and revert back to using PrimaryColor & SecondaryColor.
What you want to do is inherently unsupported. Once the Subgraph DataColor array starts to be used, it cannot be unused unless the study is removed from the chart and added again, which would effectively happen when you close the Chartbook and reopen it.We can accommodate what you want to do. We could add a function like this: sc.ClearSubgraphDataColorArray (int SubgraphIndex) function to do what you want. ResetMembers does do exactly what it says. It resets the members of a Array Wrapper class but this is just an isolated array reference class. It does not actually disable the use of an array altogether. It is not meant for a custom study to be calling this. You will not see anywhere in Sierra Chart custom study functions any call to this function. 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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2025-12-27 20:14:19
|
