PMM Keywords: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
|||
Line 25: | Line 25: | ||
'''[[pmms_strategy_close_position_partial]](idx, isNextBar, contracts)''' – partially close position of the specified strategy for the set number of contracts.<br> | '''[[pmms_strategy_close_position_partial]](idx, isNextBar, contracts)''' – partially close position of the specified strategy for the set number of contracts.<br> | ||
'''[[pmms_strategy_set_entry_contracts]](idx, contracts)''' – set the number of contracts for the strategy’s entry with an idx number (size calculated by the strategy itself will be ignored). To use the order size calculated by the strategy itself set “contracts” parameter to | '''[[pmms_strategy_set_entry_contracts]](idx, contracts)''' – set the number of contracts for the strategy’s entry with an idx 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. <br> | ||
'''[[pmms_strategy_get_entry_contracts]](idx)''' – get the number of contracts of the entry order of the strategy with an idx number. <br> | '''[[pmms_strategy_get_entry_contracts]](idx)''' – get the number of contracts of the entry order of the strategy with an idx number. <br> |