Support Board
Date/Time: Tue, 24 Dec 2024 02:35:53 +0000
Post From: bug report: CalculateDailyOHLC
[2015-10-22 03:03:38] |
Sierra Chart Engineering - Posts: 104368 |
Interesting this went unnoticed. It is now fixed: SCDateTime StartDateTime; SCDateTime EndDateTime; if(sc.StartTime1 <= sc.EndTime1) { StartDateTime.SetDate(ReferenceDay); StartDateTime.SetTime(sc.StartTime1); EndDateTime.SetDate(ReferenceDay); EndDateTime.SetTime(sc.EndTime1); } else { StartDateTime.SetDate(ReferenceDay - 1); StartDateTime.SetTime(sc.StartTime1); EndDateTime.SetDate(ReferenceDay); EndDateTime.SetTime(sc.EndTime1); } Although thinking about this, really there should never be a problem because the day session times really should never be reversed if one is using the UseDaySessionOnly option to begin with. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2015-10-22 03:05:12
|