Login Page - Create Account

Support Board


Date/Time: Sun, 26 Oct 2025 23:31:15 +0000



Post From: Cannot Get End Time of the Intraday Chart

[2024-07-30 08:03:59]
User431178 - Posts: 802

sc.BaseDataEndDateTime[sc.ArraySize - 1]

That is not going to be of much help here, it is the bar end time, not the session (and only works if sc.scMaintainAdditionalChartDataArrays is set).
ACSIL Interface Members - Variables and Arrays: sc.MaintainAdditionalChartDataArrays


Instead you can access the chart session times directy and compare against the current time (or current bar time).

ACSIL Interface Members - Variables and Arrays: sc.EndTime1
ACSIL Interface Members - Variables and Arrays: sc.EndTime2