Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 18:37:00 +0000



Post From: sc.SetChartStudyInputInt function to change Yes/No Input of a study

[2018-12-24 11:19:49]
User353585 - Posts: 66
Hello, I'm trying to make a custom button that I can quickly switch Yes/No input parameter of Volume by price study.

I'm trying to change "Volume Profile Bars Length Relative to All Visible Profiles (ln:109)" parameter using sc.SetChartStudyInputInt function, but it doesn't seem to work.


the code I used is following :

sc.SetChartStudyInputInt(sc.ChartNumber, Vbp.GetStudyID(), 108, 1);
sc.RecalculateChart(sc.ChartNumber);

this has worked for changing some other number parameters,
so I think this should change the input from No to Yes, but it doesn't work. please check on this, thank you.
Date Time Of Last Edit: 2018-12-25 09:19:00