×

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 close position - MultiCharts
Open main menu

Pmms strategy close position

Revision as of 10:37, 24 August 2021 by KateMultiCharts (talk | contribs) (→‎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).

Contents

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)