Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.strategy.closedtrades
On this pageSignatureReturnsExample

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 → int

Returns

int

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.