Login Page - Create Account

Support Board


Date/Time: Fri, 27 Mar 2026 02:05:03 +0000



Post From: How to access data of last trading day?

[2024-07-18 18:48:02]
ForgivingComputers.com - Posts: 1206
You can use Working with the SCDateTime Variables and Values: GetDayOfWeek() and on Monday go back day by day until you get to Friday.

For holidays, this has been known to work: ACSIL Interface Members - Functions: sc.CalculateTimeSpanAcrossChartBars()