Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 21:57:26 +0000



Post From: Cannot Get End Time of the Intraday Chart

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

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