Strategy / Reference
alerta.strategy.netprofit_percent
TradingView-compatible spelling: strategy.netprofit_percent, runs without warnings
Realized net profit expressed as a percentage of the initial capital. Companion percent variants also available: strategy.openprofit_percent, strategy.grossprofit_percent, strategy.grossloss_percent, strategy.max_drawdown_percent, strategy.max_runup_percent.
alerta.strategy.netprofit_percent → series floatReturns
series floatExample
alerta.strategy.netprofit_percent
strategy("NP%", overlay=false)plot(strategy.netprofit_percent, title="Net Profit %")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.