Support Board
Date/Time: Thu, 13 Feb 2025 19:45:24 +0000
Post From: calculate the time period of the chart bar as an SCDateTime value
[2020-12-19 13:34:33] |
User820318 - Posts: 40 |
How can I calculate the time period of the chart bar as an SCDateTime value? This is suggested here (ACSIL Programming Concepts: Determining if Last Chart Bar is Closed) but Im getting stuck with this. Say Im working with a 60 sec bar. I want to know how many seconds have elapsed of the current bar - e.g. 40s. Anyone have any tips? |