Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 00:28:30 +0000



Retrieve the date of the opening and closing of a candlestick

View Count: 712

[2017-01-30 13:18:40]
User210074 - Posts: 63
Hello,
I would like to know if there is a function already built to retrieve the date of the opening and closing of a candlestick

I already recovers the opening, closing, the highest and lowest of a bar with the code below


double Bar = sc.Index;
double High = sc.High[Bar];//High
double Low = sc.Low[Bar];//Low
double Open = sc.Open[Bar];//Open
double Close = sc.Close[Bar];//Close
/*double DateTimeOpen = ...[Bar];//I don't find*/
/*double DateTimeClose= ...[Bar];//I don't find*/
I don't find the function in the site.
I find this : http://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Variables_And_Arrays.html
Does the function exist?
[2017-01-31 02:34:16]
Sierra Chart Engineering - Posts: 104368
Refer to:
ACSIL Interface Members - Variables and Arrays: sc.BaseDateTimeIn[]

sc.GetEndingDateTimeForBarIndex()
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

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

Login

Login Page - Create Account