Drawing / Reference
alerta.format.percent
TradingView-compatible spelling: format.percent, runs without warnings
Number-format identifier for declaration or string formatting. Use format.percent as a value, without parentheses.
alerta.format.percent → const stringValue
percent
Returns
const stringExample
alerta.format.percent
//@version=6indicator("Constant example")selected = format.percentplot(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.