Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 23:02:49 +0000



Post From: Index of Current Session start

[2016-10-08 09:29:38]
Sierra Chart Engineering - Posts: 104368
Here is an example to do this:

  //Get index of start of trading day based upon Date-Time at current index. This code assumes automatic looping.
  SCDateTime StartDateTime = sc.GetTradingDayStartDateTimeOfBar(sc.BaseDateTimeIn[sc.Index]);
  int StartBarIndex = sc.GetContainingIndexForSCDateTime(sc.ChartNumber, StartDateTime);

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