Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 03:07:54 +0000



DateTime of last Tick (Replaying)

View Count: 1078

[2014-12-21 19:37:05]
sbsierra - Posts: 71
I currently use sc.BaseDateTimeIn[sc.Index] to get the start time of the current bar.
Q:
Is there a way to get the DateTime of the last tick instead of the start time of the current bar. I need this to avoid trading during news times and it needs to be compatible / accessibel during replaying.

thanks.
bs.trader
[2014-12-21 20:40:14]
Sierra Chart Engineering - Posts: 104368
Use sc.LatestDateTimeForLastBar

Refer to:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scLatestDateTimeForLastBar
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-12-21 20:40:24

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

Login

Login Page - Create Account