Open position count limit for a strategy or group of strategies
Input
Any formula specifying a count
Notes
MaxPositions is one of the Capacity Constraints formulas used in the setup selection process.
A setup is only selected if the count of currently open positions plus previously selected setups plus one would not exceed the value returned by this formula.
Setups skipped for this reason display "max positions" in the Reason column of the Trade List, provided that the KeepTrades setting included Skipped.
If MaxPositions is not specified then there is no limit placed on the number of open positions, though there might still be investment limits if the strategy specifies MaxExposure and/or MaxInvested.