Reference
dayofweek
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.
| Name / Signature | Description | Returns |
|---|---|---|
| alerta.dayofweek.mondaydayofweek.sunday … dayofweek.saturday → const int (1…7) | Pine v5/v6 day-of-week constants: dayofweek.sunday=1, monday=2, tuesday=3, wednesday=4, thursday=5, friday=6, saturday=7. Compare against the per-bar `dayofweek` series to gate logic to specific weekdays. | const int |
| alerta.dayofweek.fridaydayofweek.friday → const int | Weekday number used with dayofweek and session conditions. Use dayofweek.friday as a value, without parentheses. | const int |
| alerta.dayofweek.saturdaydayofweek.saturday → const int | Weekday number used with dayofweek and session conditions. Use dayofweek.saturday as a value, without parentheses. | const int |
| alerta.dayofweek.sundaydayofweek.sunday → const int | Weekday number used with dayofweek and session conditions. Use dayofweek.sunday as a value, without parentheses. | const int |
| alerta.dayofweek.thursdaydayofweek.thursday → const int | Weekday number used with dayofweek and session conditions. Use dayofweek.thursday as a value, without parentheses. | const int |
| alerta.dayofweek.tuesdaydayofweek.tuesday → const int | Weekday number used with dayofweek and session conditions. Use dayofweek.tuesday as a value, without parentheses. | const int |
| alerta.dayofweek.wednesdaydayofweek.wednesday → const int | Weekday number used with dayofweek and session conditions. Use dayofweek.wednesday as a value, without parentheses. | const int |