Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 23:32:55 +0000



Post From: issue with VbP setter

[2019-01-26 00:41:52]
dtl-saw - Posts: 79
I've found an issue with the setting of the VbP input variable #37[index=36] "start date" when using the sc.SetChartStudyInputFloat setter function the input value is set to zero and not the value used in the function.

When using the function to set the VbP input variable #39[index=38] "start time" there is no problem and the input is set correctly.

example: for this case the VbP ID=4
sc.SetChartStudyInputFloat(sc.ChartNumber, 4, 36, 43490);
this should set the VbP input variable #37 "start date" to today 1/25/2019, however the "start date" is being set to 0 (reads as 1900-01-04) from the properties window

when using this same function to set the VbP "start time" it correctly sets the time to 11:54:48 AM
sc.SetChartStudyInputFloat(sc.ChartNumber, 4, 38, 0.4943);


Please take a look at the VbP input variable setter code and see if you can resolve this issue.

thanks