Difference between revisions of "Portfolio CurrentEntries"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Returns a numerical value, indicating the combined number of entries currently open within a portfolio. | Returns a numerical value, indicating the combined number of entries currently open within a portfolio. | ||
− | + | == Usage == | |
<syntaxhighlight>Portfolio_CurrentEntries</syntaxhighlight> | <syntaxhighlight>Portfolio_CurrentEntries</syntaxhighlight> | ||
− | + | == 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 [[:Category:Portfolio_Backtesting|Portfolio Backtester]]. |
− | + | == Example == | |
− | 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 the Value1 variable: |
− | Value1 variable: | ||
− | <syntaxhighlight>Value1=Portfolio_CurrentEntries;</syntaxhighlight> | + | <syntaxhighlight>Value1 = Portfolio_CurrentEntries;</syntaxhighlight> |
[[Category:Portfolio Strategy Position]] | [[Category:Portfolio Strategy Position]] |
Latest revision as of 14:43, 19 February 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 the Value1 variable:
Value1 = Portfolio_CurrentEntries;