Instrument properties changes by code - command line other ?  [SOLVED]

Questions about MultiCharts and user contributed studies.
aerotrader
Posts: 9
Joined: 12 Apr 2015
Been thanked: 2 times

Instrument properties changes by code - command line other ?

Postby aerotrader » 01 May 2015

Hi,

Looking at seeing the performance of a strategy over various time frames.

Was thinking it might be possible by the command line to change the chart parameters eg 5 min 30 min, 60 minute, changing the instrument by the command line by running a batch job of command line instructions which changes this.

Anyone done similar, or other ideas how to complete this ?

Regards

At

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Instrument properties changes by code - command line oth  [SOLVED]

Postby JoshM » 02 May 2015

Was thinking it might be possible by the command line to change the chart parameters eg 5 min 30 min, 60 minute, changing the instrument by the command line by running a batch job of command line instructions which changes this.
If you mean MultiCharts' Command Line, then yes:

The PowerLanguage keyword `CommandLine()` can change the chart's time frame with the `.csy` command. Changing the instrument itself can also be done with `.csy`. See list of supported commands for more commands and their accompanying parameters.

If you mean command line as in PowerShell etc, then no. Unless you create a text file in the command line and have MultiCharts read that file (that can be done with ELCollections or ADE; Google the forum for examples) and then call `CommandLine()` to have MultiCharts change the chart.

aerotrader
Posts: 9
Joined: 12 Apr 2015
Been thanked: 2 times

Re: Instrument properties changes by code - command line oth

Postby aerotrader » 02 May 2015

Exactly what I was after, will just write a script containing command line.

Thank you

at


Return to “MultiCharts”