Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 13:46:28 +0000



Post From: Cannot Get End Time of the Intraday Chart

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

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