Hi,
Can one MC signal be applied to multiple assets (stocks) without opening a chart for each?
Thank you in advance.
MM
apply single signal to multiple assets w/o multiple charts
- MarketMicro
- Posts: 24
- Joined: 04 May 2014
- Been thanked: 1 time
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: apply single signal to multiple assets w/o multiple char
Hello MarketMicro,
If you want to trade a certain number of instruments-you need to have a chart open for each symbol.
The signal can trade (send orders) only for the instrument that is the main data series (data1).
You can add second, third, etc. data series (subcharts) with XXX instrument and XXX resolution to your chart and access them from the code.
The same is applied to Portfolio Trader - trading instrument is only data1.
If you want to trade a certain number of instruments-you need to have a chart open for each symbol.
The signal can trade (send orders) only for the instrument that is the main data series (data1).
You can add second, third, etc. data series (subcharts) with XXX instrument and XXX resolution to your chart and access them from the code.
The same is applied to Portfolio Trader - trading instrument is only data1.
Re: apply single signal to multiple assets w/o multiple char
MM,
this is a reasonable question.
I think there are many reasons why you should be able to create orders without opening any chart. I mean, if I'm able to create orders with quantitiy, price limitations and so on, why I should not be able to call a symbol in PL for the order, if the inner circle is already calling the symbol from the chart ? For instance all the portfolio traders, may having some significant exposure in EUR or USD and need to be hedged against currency risks. So I could create orders without any chart automatically if the exposure reaches a limit where you want to act automatically.
You may are considering opening a feature request, so MC can think about and users could provide their thoughts about it. May the majority do not see any need out of it which than will be well respected and your request will be rejected. So for me it is not a necessary feature, but I could imagine some might want to see it.
Good luck with it.
Regards.
Ben
this is a reasonable question.
I think there are many reasons why you should be able to create orders without opening any chart. I mean, if I'm able to create orders with quantitiy, price limitations and so on, why I should not be able to call a symbol in PL for the order, if the inner circle is already calling the symbol from the chart ? For instance all the portfolio traders, may having some significant exposure in EUR or USD and need to be hedged against currency risks. So I could create orders without any chart automatically if the exposure reaches a limit where you want to act automatically.
You may are considering opening a feature request, so MC can think about and users could provide their thoughts about it. May the majority do not see any need out of it which than will be well respected and your request will be rejected. So for me it is not a necessary feature, but I could imagine some might want to see it.
Good luck with it.
Regards.
Ben
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: apply single signal to multiple assets w/o multiple char
That is a limitation of the PowerLanguage. That can be done in MultiCharts .NET.I mean, if I'm able to create orders with quantitiy, price limitations and so on, why I should not be able to call a symbol in PL for the order, if the inner circle is already calling the symbol from the chart ?
Re: apply single signal to multiple assets w/o multiple char
Is this a hard architectural limitation that will require re-write a large part of the software or is it a comparatively softer limitation that can be improved easily if a feature request is made? Can PowerLanguage be expanded to allow this functionality?That is a limitation of the PowerLanguage. That can be done in MultiCharts .NET.I mean, if I'm able to create orders with quantitiy, price limitations and so on, why I should not be able to call a symbol in PL for the order, if the inner circle is already calling the symbol from the chart ?
It will be very interesting to read a text file containing symbol names from within PowerLanguage, put symbol names into an array, and fire orders on the symbols contained within that array.
- MarketMicro
- Posts: 24
- Joined: 04 May 2014
- Been thanked: 1 time
Re: apply single signal to multiple assets w/o multiple char
There's definitely a need for trading stocks. If I have 30 stocks using the same strategy, it will be more resource efficient to not have to open 30 charts, or even 100 for that matter.
However, the challenge that I can see from an architectural standpoint is when I use tick format instead of 1-min format, where each of the stock symbols would have different bar events. But if MC.net can do that already, I presume the architecture allows for that. In which case, it's only PowerLanguage issue, and this can be remedied by creating more keywords and functions to handle that. Of course, that's an over-simplistic view from my part without knowing how it's built under the hood.
Bottom line is, it would definitely be advantageous to have this capability in PowerLanguage.
However, the challenge that I can see from an architectural standpoint is when I use tick format instead of 1-min format, where each of the stock symbols would have different bar events. But if MC.net can do that already, I presume the architecture allows for that. In which case, it's only PowerLanguage issue, and this can be remedied by creating more keywords and functions to handle that. Of course, that's an over-simplistic view from my part without knowing how it's built under the hood.
Bottom line is, it would definitely be advantageous to have this capability in PowerLanguage.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: apply single signal to multiple assets w/o multiple char
This is a hard architectural limitation that requires re-writing a large part of the software.Is this a hard architectural limitation that will require re-write a large part of the software or is it a comparatively softer limitation that can be improved easily if a feature request is made? Can PowerLanguage be expanded to allow this functionality?That is a limitation of the PowerLanguage. That can be done in MultiCharts .NET.I mean, if I'm able to create orders with quantitiy, price limitations and so on, why I should not be able to call a symbol in PL for the order, if the inner circle is already calling the symbol from the chart ?
It will be very interesting to read a text file containing symbol names from within PowerLanguage, put symbol names into an array, and fire orders on the symbols contained within that array.