+1 888 340 6572

Pmms strategy set status: Difference between revisions

From MultiCharts
(Created page with "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-Ti...")
 
No edit summary
 
Line 14: Line 14:
==Example==
==Example==
<syntaxhighlight>pmms_strategy_set_status("Long");</syntaxhighlight>
<syntaxhighlight>pmms_strategy_set_status("Long");</syntaxhighlight>
[[Category:Portfolio Money Management]]

Latest revision as of 12:11, 2 November 2016

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");