Strategy / Reference
alerta.strategy.max_drawdown
TradingView-compatible spelling: strategy.max_drawdown, runs without warnings
Returns the maximum equity drawdown of the backtest, intrabar as in the Strategy Tester: the highest closed-trade equity so far minus the equity at a bar's adverse extreme (the low of a long, the high of a short).
alerta.strategy.max_drawdown → floatReturns
floatExample
alerta.strategy.max_drawdown
strategy("Drawdown Monitor", overlay=true)plot(strategy.max_drawdown, { title: "Max Drawdown", color: "#EF4444", pane: "oscillator" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.