Strategy / Reference
alerta.strategy.closedtrades
TradingView-compatible spelling: strategy.closedtrades, runs without warnings
Returns the total number of closed trades in the strategy performance history.
alerta.strategy.closedtrades → intReturns
intExample
alerta.strategy.closedtrades
strategy("Closed Trades Count", overlay=true)plot(strategy.closedtrades, { pane: "oscillator" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.