#twitter-follow { border: 0;position: fixed; top: 240px; left:0;} #live-support { border: 0;position: fixed; top: 370px; left:0;} #knowledge-base { border: 0;position: fixed; top: 170px; left:0;}

## Time Under Water - Drawdown

by The trader, 5420 days ago

The maximum drawdown is a popular measure of the maximum amount an investor can expect to lose. It is used as a measure of riskiness of a trading strategy.
Another measure of a trading strategy's riskiness is the Time under Water.
The Time under water is derived from the calculation of the drawdown. It is the maximum distance in time, from a previous peak to a new peak. In other words, it calculates how long it takes an investor to recover its money at the start of the maximum drawdown period.

Example:
1 January 2008, the equity value is: 100 - Current Time under water = 0 days
2 January 2008, the equity value is: 110 - Current Time under water = 0 days
3 January 2008, the equity value is: 90 - Current Time under water = 1 days
4 January 2008, the equity value is: 100 - Current Time under water = 2 days
5 January 2008, the equity value is: 115 - Current Time under water = 0 days

In the above example, the maximum 'time under water' value is 2 days.

The 'time under water' value is calculated for each symbol, and then the results are averaged. The average value is the final value returned by this metric.
The algorithm is rather simple, it calculates the drawdown for each new output and keeps track of the start and end date of each drawdown period. The difference in days is then calculated and the 'time under water' value is updated if the difference in days is higher than the 'time under water' value.

What is this?

 Type: Rule Metrics Object ID: 224 Country: All Market: All Style: Technical Analysis

 Related objects Empty
Number of reviews
Average rate
Click to rate this item
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

 Random Blog Posts Trading Orders - Part 1 The average maximum drawdown metric Introduction to the trading rules analyzer Sharpe Ratio - Part 2 Sharpe Ratio - Part 1 How to speed up quotes and news downloads The 'inside period' function How to use date components in your trading rules Show All

Number of reviews
Average rate
Click to rate this item
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object