Support Board
Date/Time: Tue, 09 Sep 2025 03:26:11 +0000
Post From: Bar time calculations
[2017-03-16 13:35:51] |
R1sk - Posts: 244 |
Is this the correct way to calculate a time difference (in seconds) between 2 consecutive bars ? double DifferenceInSeconds = (sc.BaseDateTimeIn[sc.Index] - sc.BaseDateTimeIn[sc.Index - 1]) * 86400.0;
Date Time Of Last Edit: 2017-03-16 13:36:43
|