Difference between revisions of "Pmms strategy close position partial"

From MultiCharts
Jump to navigation Jump to search
(Created page with "<i></i> 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). ==Usa...")
 
Line 5: Line 5:
 
<syntaxhighlight>pmms_strategy_close_position(Index)</syntaxhighlight>
 
<syntaxhighlight>pmms_strategy_close_position(Index)</syntaxhighlight>
  
==Parameters==
+
Where:
Index - numeric variable.
+
:'''Index''' - numeric variable.
  
 
==Notes==
 
==Notes==

Revision as of 13:18, 10 April 2017

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)

Where:

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)