Difference between revisions of "Portfolio CurrentEntries"

From MultiCharts
Jump to navigation Jump to search
Line 8: Line 8:
 
   
 
   
 
==== Example ====
 
==== Example ====
<syntaxhighlight>Assign a value, indicating the combined number of entries currently open within a portfolio, to  
+
Assign a value, indicating the combined number of entries currently open within a portfolio, to  
 
Value1 variable:  
 
Value1 variable:  
  
Value1=Portfolio_CurrentEntries;</syntaxhighlight>  
+
<syntaxhighlight>Value1=Portfolio_CurrentEntries;</syntaxhighlight>  
 
   
 
   
 
[[Category:Portfolio Strategy Position]]
 
[[Category:Portfolio Strategy Position]]

Revision as of 14:44, 26 January 2012

Returns a numerical value, indicating the combined number of entries currently open within a portfolio.

Usage

Portfolio_CurrentEntries

Notes

This function can only be used in signals intended to be used with the Portfolio Backtester.

Example

Assign a value, indicating the combined number of entries currently open within a portfolio, to Value1 variable:

Value1=Portfolio_CurrentEntries;