Support Board
Date/Time: Sun, 02 Feb 2025 00:51:05 +0000
Post From: GetSecond() function returning only zero
[2019-08-08 16:01:33] |
John - SC Support - Posts: 37656 |
As described in the documentation, the sc.BaseDateTimeIn array gives the Starting time of the bar. If you are using time-based bars, then most likely the bars are starting at the beginning of the minute, in which case the seconds will always be 0. Refer to the following for sc.BaseDateTimeIn array: ACSIL Interface Members - Variables and Arrays: sc.BaseDateTimeIn[] For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |