Support Board
Date/Time: Tue, 04 Nov 2025 03:11:43 +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  
             | 
        
