Pmms strategy set entry contracts
From MultiCharts
This function sets the number of contracts for entry orders of the strategy with StrategyIndex number (size calculated by the strategy itself will be ignored). To use the order size calculated by the strategy itself set “contracts” parameter to -1.
Usage
pmms_strategy_set_entry_contracts(StrategyIndex, Contracts)
Parameters:
- StrategyIndex - numeric variable.
- Contracts - numeric variable.
Notes
This function can only be used in signals intended to be used with the Portfolio Trader.
Example
pmms_strategy_set_entry_contracts(0, 5)