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.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.