Support Board
Date/Time: Mon, 23 Dec 2024 20:10:20 +0000
Post From: ACSIL: finding first bar for the trading day
[2014-02-23 09:54:00] |
Sierra Chart Engineering - Posts: 104368 |
This will determine the index that you need to use into the array for the referenced study Subgraph: // Bar index of beginning of trading day for bar at current index. This depends upon auto looping being true. SCDateTime DayStartDateTime =sc.GetTradingDayStartDateTimeOfBar(sc.BaseDateTimeIn[sc.Index]); int StartOfDayIndex= sc.GetContainingIndexForSCDateTime(sc.ChartNumber, DayStartDateTime); 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: 2014-02-23 09:54:43
|