Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 15:57:45 +0000



Stage 5 Trading Live Account Activation

View Count: 408

[2023-04-18 21:21:54]
User889351 - Posts: 4
To clarify, I have intraday session start time set to 18:00:00

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

At start of session, BarIndexSinceOpen = 0. At 09:30 bar index should be 929. However that is not the case since live account activation. It is off by 2, or two minutes on a minute chart.
[2023-04-19 04:16:59]
Tony - Posts: 522
Do you mean that it was 929 when you were on Sim? Sounds like your live streaming is delayed 2 minutes.
[2023-04-19 04:45:58]
User889351 - Posts: 4
Correct, I notice the same behavior on Sim or Trade mode.

April 18 - bar index 929 refers to 09:32 bar and not 09:30.
April 17 - bar index 929 refers to 09:30 bar, which is correct.
April 16 - bar index 929 refers to 09:29 bar, which is again not 09:30.

BarIndexSinceOpen is not consistent since Live account was activated.
[2023-04-19 05:36:57]
Sierra_Chart Engineering - Posts: 17201
We have absolutely no context here whatsoever and have no understanding of this at all.

Check the bars in the chart and the timestamps of them.

If there is any missing data, then refer to:
Historical Intraday Data (Missing Data / Download Errors / Viewing More Data)
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-04-19 05:37:43
[2023-04-19 06:22:37]
User889351 - Posts: 4
"Delete all data and download" addressed the issue.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account