Skip to content
AlertaChartAlertaScript / docs
AlertaScript / dayofweek

Reference

dayofweek

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

Name / SignatureDescriptionReturns
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 intWeekday number used with dayofweek and session conditions. Use dayofweek.friday as a value, without parentheses.const int
alerta.dayofweek.saturdaydayofweek.saturday → const intWeekday number used with dayofweek and session conditions. Use dayofweek.saturday as a value, without parentheses.const int
alerta.dayofweek.sundaydayofweek.sunday → const intWeekday number used with dayofweek and session conditions. Use dayofweek.sunday as a value, without parentheses.const int
alerta.dayofweek.thursdaydayofweek.thursday → const intWeekday number used with dayofweek and session conditions. Use dayofweek.thursday as a value, without parentheses.const int
alerta.dayofweek.tuesdaydayofweek.tuesday → const intWeekday number used with dayofweek and session conditions. Use dayofweek.tuesday as a value, without parentheses.const int
alerta.dayofweek.wednesdaydayofweek.wednesday → const intWeekday number used with dayofweek and session conditions. Use dayofweek.wednesday as a value, without parentheses.const int
AlertaScript

No results found.

Search by name, alias, or keyword.