OPEN-SOURCE SCRIPT

Max Drawdown Awareness Overlay

172
Tracks the running peak of price (or any source) over a configurable lookback and shows the current drawdown from that peak plus the running maximum drawdown observed across the window. The chart shades when drawdown crosses your warning and critical thresholds. It does NOT generate buy or sell signals.

What it shows
- Running peak over the lookback
- Current drawdown from peak, in percent
- Maximum drawdown observed, with warning/critical shading

Honest by design
- No buy/sell signals. It is a risk-awareness overlay.
- Non-repainting: every value is a function of confirmed bars.

Open-source and MIT licensed.

Disclaimer: impersonal educational and analytics tool. This is not investment advice, not a personalised recommendation, and carries no performance guarantee. Past results do not predict future results. You are solely responsible for your own trading decisions.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。