==== Notes ==== This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]].
==== Example ====<syntaxhighlight>Portfolio_MaxIDDrawdown will </syntaxhighlight>Will return a value of -500 if the largest decline in equity during the entire trading period was $500</syntaxhighlight> .