Support Board
Date/Time: Tue, 04 Nov 2025 15:12:43 +0000
[Programming Help] - How to draw 1st Friday of every Month
View Count: 726
|   [2020-08-31 12:03:21]     |  
| User786248 - Posts: 25 | 
| 
                Using Alert bar condition study, how would I write code to display 1st Friday of every Month? I tried this but getting syntax error =AND(Month(BarDate) = 1, WeekDay(BarDate) = 6)) thank you  | 
        
|   [2020-08-31 15:43:27]     |  
| Ackin - Posts: 1865 | 
| 
                Try this: =AND(WEEKDAY(BARDATE)=6,DAY(BARDATE)<8)  | 
        
To post a message in this thread, you need to log in with your Sierra Chart account:
