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