Support Board
Date/Time: Fri, 31 Jan 2025 03:03:48 +0000
[Programming Help] - correct parameter names for ACS source study modification
View Count: 713
[2019-03-29 17:47:46] |
Chad - Posts: 234 |
I'm looking to use and modify the ACSIL/cpp source of a few Studies as part of a custom backtesting routine with profsoftware.com's "SCBT" application (one of your Support/Programming Service affiliates). Using the study "RSI" as example, I see it starting on line 3795 of Studies7.cpp - the integer for 'RSI Length' is of course set as default of '10' with param RSILength.SetInt(). Question is: if I want to test variations of values for 'Line1', 'Line2', etc. programmatically, but there isn't a .SetInt() for these, is it proper/allowed within the conventions of ACSIL if I simply add them? Example: Line1.Name = "Line1";
Line1.DrawStyle = DRAWSTYLE_LINE; Line1.PrimaryColor = RGB(255,0,255); Line1.DrawZeros = true; Line1.SetInt(30); // added by me Date Time Of Last Edit: 2019-04-02 17:34:02
|
[2019-04-02 17:34:11] |
Chad - Posts: 234 |
bump
|
[2019-04-04 08:47:49] |
Sierra Chart Engineering - Posts: 104368 |
The way you do this is by filling in the sc.Subgraph[].Data array with the value you want. You cannot do it like you are showing with a set integer 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, *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: