Strategy / Reference
alerta.strategy.openprofit
TradingView-compatible spelling: strategy.openprofit, runs without warnings
Returns the unrealized profit/loss of the currently open positions.
alerta.strategy.openprofit → series floatReturns
series floatExample
alerta.strategy.openprofit
strategy("Open Profit Plot", overlay=false)plot(strategy.openprofit, { title: "Unrealized PnL" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.