Support Board
Date/Time: Sun, 12 Jan 2025 15:08:07 +0000
Chart
View Count: 712
[2017-03-07 22:48:34] |
User869667 - Posts: 12 |
Hello Support, Can you give me an example on how to add element(sc.AddElements(1);) when an array of another chartbook is != 0, i can't make it work for sc.IsCustomChart = 1(would you recomend me to do this with or without autoloop?). Something simple like when a ExternalArray[ExternalIndex] != 0 so sc.AddElements(1); after this i'll have elements in the subgraphs able for use?, do i need to set sc.DateTimeOut[] with a value? All the examples of customchart are always adding values to the chart while BaseDataIn has a new value(sc.Subgraph[SubGraph] = sc.BaseDataIn[SubGraph];) i just want to add a new value to the chart only with this external condition. Date Time Of Last Edit: 2017-03-07 22:52:31
|
[2017-03-08 05:16:55] |
Sierra Chart Engineering - Posts: 104368 |
You should not be using automatic looping for a custom chart. after this i'll have elements in the subgraphs able for use?, do i need to set sc.DateTimeOut[] with a value?
Yes of course. Refer to the documentation here:ACSIL Interface Members - Variables and Arrays: sc.IsCustomChart You can call sc.AddElements whenever you want under whatever condition. We do not understand the purpose of the question. You seem to be already answering your own question. Here is the documentation for referencing data from other charts: Referencing Other Time Frames and Symbols When Using the ACSIL 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: