Drawing / Reference
alerta.display.data_window
TradingView-compatible spelling: display.data_window, runs without warnings
Visibility location for plot output. Use display.data_window as a value, without parentheses.
alerta.display.data_window → const stringValue
data_window
Returns
const stringExample
alerta.display.data_window
//@version=6indicator("Constant example")selected = display.data_windowplot(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.