Strategy / Reference
alerta.strategy.cancel_all
TradingView-compatible spelling: strategy.cancel_all, runs without warnings
Cancels all pending entries and active exit orders.
alerta.strategy.cancel_all() → voidReturns
voidExample
alerta.strategy.cancel_all
strategy("Cancel All Example", overlay=true)if bar_index == 1 strategy.entry("L1", "long", limit = close * 0.99)if bar_index == 2 strategy.cancel_all()Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.