Login Page - Create Account

Support Board


Date/Time: Thu, 26 Dec 2024 11:13:37 +0000



Function parameters - SCStudyInterfaceRef & SCStudyGraphRef

View Count: 1962

[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.
[2016-03-11 18:06:59]
Sierra Chart Engineering - Posts: 104368
SCStudyInterfaceRef and SCStudyGraphRef are the same.

We checked the documentation and found two places where the older one was used. They have been updated.

Refer to:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members.html
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:

Login

Login Page - Create Account