Pmms strategy set status

From MultiCharts
Jump to: navigation, search

This function sets a text (string) status for the strategy with StrategyIndex number of the portfolio (status is indicated in the “Custom Text” column of Portfolio Real-Time Window).

Usage

pmms_strategy_set_status(StrategyIndex, Status)

Parameters:

StrategyIndex - numeric variable.
Status - string variable.

Notes

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

Example

pmms_strategy_set_status("Long");