Support Board
Date/Time: Tue, 04 Nov 2025 02:11:41 +0000
Please document sc.AddStudyToChart
View Count: 1270
|   [2020-10-10 13:24:03]     |  
| User563222 - Posts: 4 | 
| 
                Your entry in the online documentation is blank.  It's been 7 days since it was released.  All you have to do is provide an example and state what the return code means.    Thanks.  | 
        
|   [2020-10-10 18:31:12]     |  
| Ackin - Posts: 1865 | 
| 
                  It's been 7 days since it was released. All you have to do is provide an example and state what the return code means. 
Type: Function int AddStudyToChart(const n_ACSIL::s_AddStudy& AddStudy); struct s_AddStudy { // The chart number to add the study to. This needs to be within the // same Chartbook as the study function which is adding the study. int ChartNumber = 0; // The configured study identifier to add if it is a built-in study. The // study identifiers are specified in c_Graph::Configure. When adding an // advanced custom study this needs to be zero. int StudyID = 0; // In the case of when adding an advanced custom study, this string // specifies the filename without extension, followed by a dot (.) // character, and the function name to be added. When both StudyID and // CustomStudyFileAndFunctionName have not been set and are at default // values, then sc.AddStudy returns 0. SCString CustomStudyFileAndFunctionName; // This will be set as the short name for the added study. This can be // used to get the ID for the study later using sc.GetStudyIDByName. SCString ShortName; }; #endif This should be enough for you If you don't know how to use the structure, look for a similar type: ACSIL Interface Members - Functions: sc.SetBarPeriodParameters() Date Time Of Last Edit: 2020-10-10 18:32:57  
             | 
        
|   [2020-10-10 18:39:54]     |  
| Ackin - Posts: 1865 | 
| 
                to SC Support) btw There is some problem with the site with this requested feature description showing a strange background. Like when someone forgot to write a TAG in the source code of the page. ACSIL Interface Members - Functions  | 
        
|          |  
|   [2020-10-14 01:11:07]     |  
|   |  
| 
                We will work on documentation for that function. We are not currently seeing the issue described in post #3.  So it appears like we have already resolved this.
                 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  | 
        
|   [2020-10-14 09:30:45]     |  
| Sierra_Chart Engineering - Posts: 21298 | 
| 
                Refer to: ACSIL Interface Members - Functions: sc.AddStudyToChart() 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  | 
        
|   [2020-10-14 11:14:12]     |  
| Ackin - Posts: 1865 | 
| 
                
 Is a function with the opposite effect also planned? ... remove-study-from-chart  | 
        
|   [2020-10-14 19:27:28]     |  
|   |  
| 
                We could add that.
                 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:
