Support Board
Date/Time: Thu, 27 Feb 2025 22:24:25 +0000
Post From: Moving Volume Profile End-Time and End-Date with ASCIL
[2021-07-26 13:50:02] |
P3rri - Posts: 16 |
Greetings, I am trying to use ASCIL to move Volume By Price(DVP) that I drew manually by manipulating the End Time and End Date. Using the sc.SetChartStudyInputInt(). I managed to get the time of the candle for the anchors of the Volume Profile with sc.GetChartStudyInputInt(). as integers. But when I am trying to Set the End Time it is bugging and it goes to End time 00:00:00 and out of the chart. Here is an example of what I am trying to do: sc.GetChartStudyInputInt(sc.ChartNumber,sc.Input[1].GetStudyID(), 40, ending_time); This returns an integers that indicates the end of the Volume Profile.sc.SetChartStudyInputInt(sc.ChartNumber,sc.Input[1].GetStudyID(), 40, ending_time+1000); Trying to move it for 1000 seconds to the right.I can't figure out hours now if I am doing something wrong or it is a bug, the GetChartsStudyInputInt returns an integer that I just increase and pushing back to the study with SetChartStudyInputInt. Thank you for your time. |