TOTALDRAWDOWN |
Top Previous Next |
Keyword Description Category-related / Category-legal. Class Function Where Legal
Syntax TOTALDRAWDOWN
Return Value Returns the total drawdown (reduction in total equity from the previous high) of all systems combined. A return value of 13.79 means that at this moment, the portfolio's equity has fallen 13.79 percent from it's previous high. Example Sample code IF TOTALDRAWDOWN < 20 THEN NEWCONTRACTS = MEMORY[1] ELSE NEWCONTRACTS = MY_POSITION_SIZE ' Mechanica interprets TOTALDRAWDOWN < 20 to mean TOTALDRAWDOWN < 20%
|