Time / Reference
alerta.dayofweek.tuesday
TradingView-compatible spelling: dayofweek.tuesday, runs without warnings
Weekday number used with dayofweek and session conditions. Use dayofweek.tuesday as a value, without parentheses.
alerta.dayofweek.tuesday → const intValue
3
Returns
const intExample
alerta.dayofweek.tuesday
//@version=6indicator("Constant example")selected = dayofweek.tuesdayplot(close)Notes
- The value comes from AlertaScript's own constant table. A recognized option is not a promise that every data source supports it or that it behaves exactly as in Pine — check the entry of the function that takes it.
Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.