Support Board
Date/Time: Thu, 30 Oct 2025 13:39:52 +0000
Post From: Bar time calculations
| [2017-03-16 13:35:51] |
| R1sk - Posts: 247 |
|
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
|
