Arrays / Reference
alerta.order.descending
TradingView-compatible spelling: order.descending, runs without warnings
Ascending or descending collection sort order. Use order.descending as a value, without parentheses.
alerta.order.descending → const stringValue
desc
Returns
const stringExample
alerta.order.descending
//@version=6indicator("Constant example")selected = order.descendingplot(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.