×

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.

Pmms strategies in positions count - MultiCharts
Open main menu

Pmms strategies in positions count

Revision as of 17:13, 1 November 2016 by Angelina (talk | contribs) (Created page with "Returns a numerical value, indicating the number of strategies with open position. Accepts one parameter - a one dimensional dynamical array. This array is filled with the ind...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

Pmms_strategies_in_positions_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: positions(0); 

array: strategyIndexes[](0); 

positions = pmms_strategies_in_positions_count(strategyIndexes);