Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 12:47:39 +0000



ACSIL Session Times

View Count: 2902

[2018-01-20 18:41:41]
wwwingman - Posts: 185
Hi

Is there an ACSIL way to get the session times ?

I need the Start + End + Evening Start + Evening End times.
I found the sc.SessionStartTime() for the session time.
Are the other time sessions available ?
Have I missed something ?

(FWIW : this is used for automatic opening of charts using sc.OpenChartOrGetChartReference (I know those parameters are optional, but I need to set them properly for my needs)).

Thx
-- W.
[2018-01-21 04:41:40]
Sierra Chart Engineering - Posts: 104368
These are available and are all documented on this page here:
ACSIL Interface Members - Variables and Arrays
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
[2018-01-21 15:23:34]
wwwingman - Posts: 185
can you be more specific ?

FWIW : all the sierra documentation is in front of me before I send a request and if I did send a request it means I have not found the answer to my question.
so again, I see sc.SessionStartTime()and would expect to find a sc.SessionEndTime(). I would also expect to see an Evening Start/End time, but do not see them.

-- W.
[2018-01-21 23:18:34]
Sierra Chart Engineering - Posts: 104368
We thought that you would look through the variables on that page to find what you require. Search the index of that page at the top for the word "Time" and find the variables that you require. They are all there.
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: 2018-01-21 23:18:52
[2018-01-22 07:56:09]
wwwingman - Posts: 185
Your answers are of no help.

It is always possible that my English is no enough (not native..) but I doubt this is the problem.

If I need to make tests of what is Time1 and what is Time2 and what is the difference between start1 and StartTimeOfDay and why there is a function called sc.SessionStartTime() but no sc.SessionEndTime() nor StartOfEveningSession nor EndOfEveningSession .. then something is lacking/unclear/incomplete in the documentation.

I will make small tests until I find clear answers.
Thank you for trying to help.
[2018-01-22 17:00:57]
wwwingman - Posts: 185
For other developers that wonder about session times :

For intraday charts, few notes :

1. There are two types of session : morning and evening.
You can use morning alone (default) or morning and evening. You cannot use evening alone.
If you want your current chart session time, ACSIL will call them Time1 and Time2.
But, if you want to open new charts, ACSIL will call them Session and Evening sessions...
If you want to know if the evening session is active look use sc.UseSecondStartEndTimes (true for evening session + morning session active, false for only morning active).

2. If you use the morning session only :
Start Of Morning Session : sc.StartTime1 OR sc.SessionStartTime()
End Of Morning Session : sc.EndTime1

3. If you use the evening session AND the morning session
Start Of Morning Session : sc.StartTime1
End Of Morning Session : sc.EndTime1
Start Of Evening Session : sc.StartTime2 OR sc.SessionStartTime()
End Of Evening Session : sc.EndTime2

Be aware that sc.SessionStartTime() behaves differently if the morning session is active alone, or with the evening session.
And, there is no sc.SessionEndTime() so you will need to build your own depending on your logic of session.
Date Time Of Last Edit: 2018-01-22 17:35:24
[2018-01-22 21:23:55]
Sierra Chart Engineering - Posts: 104368
We have done some documentation updates related to these variables.
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
[2018-08-25 08:18:06]
User99735 - Posts: 234
Can you clarify alternative functions to use in case we need to access the session start / end time for an external chart with 'Chart Number' as an input. Did find sc.GetTradingDayStartDateTimeOfBarForChart, which provides the start time. How do you find the a) end time, b) if evening session is specified, for an external chart?
[2018-08-27 17:50:56]
Sierra Chart Engineering - Posts: 104368
This is not supported.
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
[2018-09-07 20:56:46]
User99735 - Posts: 234
Hi,
Can you provide this functionality? I need to find end time of session of an 'external' chart with its own symbol and time frame. Please advise on how to do so with existing functions or request overloaded functions for each of the functions mentioned in the thread with an additional chart number input.

Regards

Vivek
[2018-09-11 03:10:52]
Sierra Chart Engineering - Posts: 104368
Okay we will see if we can put this in.

Contact us about this again in about 10 days.
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