Difference between revisions of "Portfolio StrategyDrawdown"

From MultiCharts
Jump to navigation Jump to search
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
Returns a negative numerical value, indicating the current decline in equity for the entire portfolio from the peak value for the entire trading period.   
 
Returns a negative numerical value, indicating the current decline in equity for the entire portfolio from the peak value for the entire trading period.   
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>Portfolio_StrategyDrawdown</syntaxhighlight>  
 
<syntaxhighlight>Portfolio_StrategyDrawdown</syntaxhighlight>  
 
   
 
   
==== Notes ====  
+
== Notes ==
This function can only be used in signals intended to be used with the Portfolio Backtester.  
+
* This function can only be used in signals intended to be used with the Portfolio Trader.
+
* The value is returned in the currency specified in Portfolio Trader: '''Portfolio Settings -> Base Currency.'''
==== Example ====
+
* Use [[Portfolio MaxIDDrawdown]] to get the largest decline in equity for the entire portfolio during the whole trading period.
<syntaxhighlight>Portfolio_StrategyDrawdown will return a value of -100 if the current decline in equity from the peak  
+
* Use [[Portfolio NetProfit]], [[Portfolio GrossProfit]] and [[Portfolio GrossLoss]] to get the net profit, gross profit and gross loss for the whole portfolio for the whole trading period.
value is $100</syntaxhighlight>
+
 
 +
== Example ==
 +
<syntaxhighlight>Portfolio_StrategyDrawdown</syntaxhighlight>
 +
Will return a value of -100 if the current decline in equity from the peak value is ¤100.
 +
 
 +
 
 +
 
  
  
 
 
[[Category:Portfolio Strategy Performance]]
 
[[Category:Portfolio Strategy Performance]]

Latest revision as of 18:11, 24 July 2014

Returns a negative numerical value, indicating the current decline in equity for the entire portfolio from the peak value for the entire trading period.

Usage

Portfolio_StrategyDrawdown

Notes

  • This function can only be used in signals intended to be used with the Portfolio Trader.
  • The value is returned in the currency specified in Portfolio Trader: Portfolio Settings -> Base Currency.
  • Use Portfolio MaxIDDrawdown to get the largest decline in equity for the entire portfolio during the whole trading period.
  • Use Portfolio NetProfit, Portfolio GrossProfit and Portfolio GrossLoss to get the net profit, gross profit and gross loss for the whole portfolio for the whole trading period.

Example

Portfolio_StrategyDrawdown

Will return a value of -100 if the current decline in equity from the peak value is ¤100.