OPEN-SOURCE SCRIPT
Atualizado

trailing_drawdown

3 459

Description:
Drawdown was a tool to measure historical risk, derived from measuring current wealth from its previous peak, casually from portfolio construction (weights allocation), will consider to having a minimum drawdown. In this indicator, the drawdown for individual assets is utilized to measure its value or percentage from its trailing peak (default to 1-yr period).

Drawdown:
drawdown = (price/peaks)-1

Feature:
  • Static: display drawdown as percentage
  • Dynamic: display drawdown as value
Notas de Lançamento
Update chart

Feature:
snapshot
Notas de Lançamento
a slight adjustment on the array, and add current-level horizontal line options
Notas de Lançamento
.
Notas de Lançamento
group and default lookback period adjustment

Aviso legal

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.