+1 888 340 6572

Pmms strategy close position

From MultiCharts
Revision as of 17:59, 1 November 2016 by Angelina (talk | contribs) (Created page with "This function closes position of the strategy with Index number with market order (orders generated by the strategy will be deleted from Raw Orders collection). ==Usage== <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function closes position of the strategy with Index number with market order (orders generated by the strategy will be deleted from Raw Orders collection).

Usage

pmms_strategy_close_position(Index)


Parameters Index - numeric variable.

Notes

This function can only be used in signals intended to be used with the Portfolio Trader.

Example

pmms_strategy_close_position(0)