OPEN-SOURCE SCRIPT

Drawdown and Max Drawdown

snapshot


I needed to see what the max Drawdown was for a specific security, and so I wrote this script. Maybe others might also find it useful. Here I apply it to the Russel 2000 index. The Russel 2000 index has been gone down quite consistently recently. So someone might wonder how weird is that, and from this index you can see that we are still a long way before the bottom.

drawdownTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer