Support Board
Date/Time: Fri, 19 Dec 2025 15:05:05 +0000
Post From: ASCIL - excluding Saturday, Sunday and/or weekend data
| [2022-03-01 15:57:37] |
| User92573 - Posts: 574 |
|
It just a study to show the High/Low for the current selected timeframe using a start-time, end-time and an option to exclude weekend data. I've used the "HighLowForTimePeriod" study as a template so should be very straightforward but for some reason I'm struggling with the Weekend section even though my Autoloop test using "if(sc.BaseDateTimeIn[sc.Index].GetDayOfWeek() == SATURDAY || sc.BaseDateTimeIn[sc.Index].GetDayOfWeek() == SUNDAY)" works fine. |
