Login Page - Create Account

Support Board


Date/Time: Sat, 22 Jun 2024 06:12:13 +0000



Setting current chart as default for SetChartStudyValues

View Count: 794

[2015-07-06 18:45:57]
DarthSidious - Posts: 63
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: 104368
For the first parameter use sc.ChartNumber
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