×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

Pmms strategies in short count

751 bytes added, 19:23, 1 November 2016
Created page with "Returns a numerical value, indicating the number of strategies with open short position. Accepts one parameter - a one dimensional dynamical array. This array is filled with t..."
Returns a numerical value, indicating the number of strategies with open short position. Accepts one parameter - a one dimensional dynamical array. This array is filled with the index numbers of the strategies that have an open short position at the moment of the strategy calculation.

==Usage==
<syntaxhighlight>pmms_strategies_in_short_count(indexesArray)</syntaxhighlight>

Parameters:
:'''indexesArray''' - array variable.

==Notes==
This function can only be used in signals intended to be used with the Portfolio Trader.

==Example==
<syntaxhighlight>var: positionsShort(0);

array: strategyIndexes[](0);

positionsShort = pmms_strategies_in_short_count(strategyIndexes);</syntaxhighlight>


[[Category:Portfolio Money Management]]