Portfolio CurrentEntries: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
|||
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]] |