MAX(HIGH - LOW)
The MDD is one of the most important risk measures. It measures the loss in any losing period and is usually defined as the percent retrenchment from an asset peak value to the valley value. Maximum drawdown encompasses both the period from the peak to the valley (length), and the time from the valley to a new high (recovery). It measures the largest percentage drawdown that has occurred in a given time period.