Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 04:27:09 +0000



Post From: ACSIL Session Times

[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