Strategy / Reference
alerta.strategy.commission.percent
TradingView-compatible spelling: strategy.commission.percent, runs without warnings
Commission calculation mode in the strategy declaration. Use strategy.commission.percent as a value, without parentheses.
alerta.strategy.commission.percent → const stringValue
percent
Returns
const stringExample
alerta.strategy.commission.percent
//@version=6indicator("Constant example")selected = strategy.commission.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.