Support Board
Date/Time: Thu, 16 Jan 2025 22:19:46 +0000
Post From: CalculateTimeSpanAcrossChartBars for remote chart
[2017-11-16 07:34:19] |
onnb - Posts: 662 |
I see the following scenario (by example) I am using CalculateTimeSpanAcrossChartBarsInChart on a 1 tick chart Start Session = 9:30:00 End Session = 9:00:00 The last tick of the prev session is 8:59:30 The 1st tick of the new session is 9:00:30 The 2nd tick of the new session is 9:00:30 Expecting 1 minute span. Getting 30 second span. I did a few more tests and from what I can see, the function does not count the time between the start of the session to the first tick - does that make sense? |