OPEN-SOURCE SCRIPT

Drawdown over Window (in percentage)

4 364
Unlike other scripts, which compare against the all time high, this allows you to specify the window over which the high should be searched.
If you want to compare against the all time high, just choose a long enough window.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.