Support Board
Date/Time: Thu, 06 Feb 2025 09:41:20 +0000
Post From: Not working functions to change the values of a manual Volume profile I draw.
[2020-04-17 21:48:18] |
User712062 - Posts: 14 |
Hello . I am using the following functions to change the values of a manual Volume profile I draw. It is not working. I need your assistance .Can someone tell please What is the proper way to pass the date and time into these function in a correct way. The end date and end Time or either become zero or the end date becomes a date in the past that I never use .Thanks in advance. time = std::modf(sc.BaseDateTimeIn[ri], &date); sc.GetChartStudyInputInt(sc.ChartNumber, study, 37, oldDate); sc.SetChartStudyInputInt(sc.ChartNumber, study, 37, int(date)); sc.GetChartStudyInputFloat(sc.ChartNumber, study, 39, oldTime); sc.SetChartStudyInputFloat(sc.ChartNumber, study, 39, time); time1 = std::modf(lastBarDate, &date1); sc.GetChartStudyInputInt(sc.ChartNumber, study, 40, oldDate1); sc.SetChartStudyInputInt(sc.ChartNumber, study, 40, int(date1)); sc.GetChartStudyInputFloat(sc.ChartNumber, study, 41, oldTime1); sc.SetChartStudyInputFloat(sc.ChartNumber, study, 40, time1); |