Login Page - Create Account

Support Board


Date/Time: Fri, 07 Aug 2020 09:13:58 +0000



Setting current chart as default for SetChartStudyValues

[2015-07-06 18:45:57]
DarthSidious - Posts: 63 | Ending Date: 2015-11-14 [Expired]
sc.Input[].SetChartStudyValues() takes 2 parameters, the first being the chart number. In a study, I currently set it to 1 in the code, then change it as appropriate. I would like it to automatically set it to "current" chart number to which it is being applied. How can I do this? Thanks!
Date Time Of Last Edit: 2015-07-06 18:46:34
[2015-07-06 18:56:41]
Sierra Chart Engineering - Posts: 88421 | Ending Date: 2021-04-05
For the first parameter use sc.ChartNumber
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

To post a message in this thread, you need to login with your Sierra Chart account:

Login

Login Page - Create Account