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

Strategy / Reference

alerta.strategy.opentrades

TradingView-compatible spelling: strategy.opentrades, runs without warnings

Returns the number of currently open trades in the strategy.

alerta.strategy.opentrades → int

Returns

int

Example

alerta.strategy.opentrades
strategy("Open Trades Count", overlay=true)plot(strategy.opentrades, { 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.