Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 23:18:03 +0000



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

[2024-07-18 18:48:02]
ForgivingComputers.com - Posts: 960
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: sc.CalculateTimeSpanAcrossChartBars()