Difference between revisions of "Pmms strategy close position"

From MultiCharts
Jump to navigation Jump to search
(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== <...")
 
 
Line 5: Line 5:
  
  
Parameters  
+
==Parameters ==
Index - numeric variable.  
+
''Index'' - numeric variable.
+
 
 
==Notes==  
 
==Notes==  
 
This function can only be used in signals intended to be used with the Portfolio Trader.  
 
This function can only be used in signals intended to be used with the Portfolio Trader.  

Latest revision as of 10:37, 24 August 2021

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)