Support Board
Date/Time: Fri, 24 Jan 2025 11:25:23 +0000
Post From: Help needed on Custom Chart Bars
[2019-01-12 01:35:01] |
Andy Sureway - Posts: 93 |
Thanks you very much for your inputs! Do you mean just modify the time of the 12:03 bar to 12:01 and make the volume fields to zero? I thought some other SC staff is strongly against this practice. Can I ask whether the two variables NewFileRecord (even though it is an input variable) and NewRecordToInsert are free to modify? If so, then I have a solution to it by first copying NewFileRecord into NewRecordToInsert, and then setting NewRecordToInsert the empty tick at 12:01. And keeping repeating this will give an answer. You can remember this. And the chart bar data is directly accessible with the s_CustomChartBarInterface::GetChartBarValue function. Comparing NewFileRecord to the information obtained by s_CustomChartBarInterface::GetChartBarValue, the volume information (volume, bid volume, ask volume) can not be recovered by the latter. Thanks! |