Support Board
Date/Time: Fri, 19 Dec 2025 15:09:00 +0000
Post From: ASCIL - excluding Saturday, Sunday and/or weekend data
| [2022-03-01 11:49:08] |
| 1+1=10 - Posts: 270 |
|
Yes, use SCDateTime::GetDayOfWeek Working with the SCDateTime Variables and Values: GetDayOfWeek() You probably need something like what is below: if(sc.BaseDateTimeIn[sc.Index].GetDayOfWeek() == SATURDAY || sc.BaseDateTimeIn[sc.Index].GetDayOfWeek() == SUNDAY ) { return; // Don’t process any weekend bars } Date Time Of Last Edit: 2022-03-01 11:49:50
|
