Support Board
Date/Time: Fri, 10 Jan 2025 20:10:00 +0000
Post From: Get day session start time in ASCIL
[2016-09-22 07:30:52] |
User763472 - Posts: 22 |
I replaced it with sc.StartTime1 and the result is the same as using sc.StartTimeofDay: SCDateTime StartingTime; StartingTime.SetTime(sc.StartTime1); int CurrentBarDate = DATE_PART(sc.BaseDateTimeIn[sc.Index]); SCDateTime StartingDateTime = COMBINE_DATE_TIME(CurrentBarDate, StartingTime); It only works for Index futures but not for currencies. |