+1 888 340 6572

Pmms strategies in long count

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns a numerical value, indicating the number of strategies with open long position. Accepts one parameter - a one dimensional dynamical array. This array is filled with the index numbers of the strategies that have an open long position at the moment of the strategy calculation.

Usage

pmms_strategies_in_long_count(indexesArray)

Parameters:

indexesArray - array variable.

Notes

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

Example

var: positionsLong(0); 

array: strategyIndexes[](0); 

positionsLong = pmms_strategies_in_long_count(strategyIndexes);