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

Strategy / Reference

alerta.strategy.eventrades

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

Returns the number of closed trades that ended at breakeven (no profit, no loss).

alerta.strategy.eventrades → int

Returns

int

Example

alerta.strategy.eventrades
strategy("Even Trades", overlay=true)plot(strategy.eventrades, { title: "Breakeven Trades", 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.