Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 15:52:51 +0000



Post From: Compile error 2098

[2020-05-11 12:11:26]
Sierra Chart Engineering - Posts: 104368
We have done some updates to the documentation here related to the changes for SCDateTime:
Working with the SCDateTime Variables and Values

More updates are needed.

Regarding post #10, here is an example of how to do this:
      const SCDateTime ActualTimeSpan(sc.CalculateTimeSpanAcrossChartBars
      (r_InitialBarIndex, PriorPeriodLastIndex));

      //If there is a sufficient amount of data in this time period
      if (ActualTimeSpan > SCDateTime::SECONDS_Fraction(MinimumRequiredTimePeriodInDayAsPercent * 0.01 * SECONDS_PER_DAY))
      {
        break;
      }

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: 2020-05-11 12:11:52