Support Board
Date/Time: Mon, 23 Jun 2025 09:05:01 +0000
Post From: ASCIL - excluding Saturday, Sunday and/or weekend data
[2022-03-01 15:57:37] |
User92573 - Posts: 563 |
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. |