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
Instrument properties changes by code - command line other ? [SOLVED]
-
- Posts: 9
- Joined: 12 Apr 2015
- Been thanked: 2 times
- 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]
If you mean MultiCharts' Command Line, then yes: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.
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.
-
- Posts: 9
- Joined: 12 Apr 2015
- Been thanked: 2 times
Re: Instrument properties changes by code - command line oth
Exactly what I was after, will just write a script containing command line.
Thank you
at
Thank you
at