Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 20:00:19 +0000



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

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