Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 01:06:35 +0000



Post From: Function parameters - SCStudyInterfaceRef & SCStudyGraphRef

[2016-03-11 04:59:21]
User553714 - Posts: 184
Hi,

From the reading I have done most of the sc functions and variables are "interface" members so when you are writing a function you use "(SCStudyInterfaceRef sc)" in the function header, for example "SCSFExport scsf_TimeTests(SCStudyInterfaceRef sc)"

1)
I have also seen code samples which use an alternative function header..."(SCStudyGraphRef sc)"
"SCSFExport scsf_SC_TradingCrossOverExample(SCStudyGraphRef sc)" and also many user contributed functions.
I have searched for an answer but have been unable to find one. When should this header be used and is there a list of the member functions/variables?


NB: Thanks so much for your speedy response to my previous support request, this has allowed me to carry on with that task; I look forward to sc.DataFile function change in the next sc release.