×

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 strategy set entry contracts - MultiCharts
Open main menu

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)