+1 888 340 6572

CommandLine: Difference between revisions

From MultiCharts
(Created page with "Passes a string expression from script to command line. == Usage == <syntaxhighlight>CommandLine("Expression1")</syntaxhighlight> == Examples == <syntaxhighlight>Command...")
 
No edit summary
Line 20: Line 20:
Changes the symbol plotted as data series 1 to AUD/CHF and the data source to LMAX on the chart where the script is applied.
Changes the symbol plotted as data series 1 to AUD/CHF and the data source to LMAX on the chart where the script is applied.


[[Category:Command Line]]
[[Category:Execution Control‎]]

Revision as of 14:36, 2 May 2013

Passes a string expression from script to command line.

Usage

CommandLine("Expression1")

Examples

CommandLine(".rld");

Reloads the chart where the script is applied (reloads all chart where the same symbol is used).

CommandLine(".at_toggle");

Turns on/off auto trading on the chart where the script is applied (if it is used to turn auto trading on, the popped up confirmation window cannot be skipped and a manual click on "OK" is required).

CommandLine(".csy dnum=1, name=AUD/CHF, df=LMAX");

Changes the symbol plotted as data series 1 to AUD/CHF and the data source to LMAX on the chart where the script is applied.