Login Page - Create Account

Support Board


Date/Time: Fri, 27 Sep 2024 03:57:11 +0000



Post From: correct parameter names for ACS source study modification

[2019-03-29 17:47:46]
Chad - Posts: 233
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