Hi,
i am mc.net user but i am now interested to mc if this is possible:
imagine i run 20 charts/workspaces, i send all orders to trademanager as strategy position. I need a way to read all positions from all charts somehow without adding code to every single chart. Is this somehow possible with mc please?
I am planing kind of tradecopier..
thanks
Access to Strategy Positions
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Access to Strategy Positions
No, sorry. But perhaps with the MC-1497 - New Auto Trading and Backtesting engine, although I couldn't find such a case in that feature request's description, so perhaps MC Support can clarify.imagine i run 20 charts/workspaces, i send all orders to trademanager as strategy position. I need a way to read all positions from all charts somehow without adding code to every single chart. Is this somehow possible with mc please?
(Isn't this the 10,000th MultiCharts topic btw? )
Re: Access to Strategy Positions
Josh, thanks for quick reply.
Can one of official moderators give me an answer too please? The answer will decide to purchase or not. thanks
Can one of official moderators give me an answer too please? The answer will decide to purchase or not. thanks
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Access to Strategy Positions
Hello fx1,I need a way to read all positions from all charts somehow without adding code to every single chart. Is this somehow possible with mc please?
There is no global storage for positions information that can be accessed from the PowerLanguage code. The only way to make charts communicate between each is to use Global Variables.
In MultiCharts .NET you can access positions information using TradeManager.
Re: Access to Strategy Positions
I am actually interested to strategy positions information globally. My main problem with GV issue is:
imagine i have 20 charts open and all 20 charts push strategy position information to GV. All fine, BUT once i remove the chart, this wont detected, the position sticks in GV. AFAIK there is no "deinit" constructor for EL to detect closing chart to cleanup.
Can you tell me quickly if this can be archived with .NET? I am lifetime user of .NET but i must dig into it to learn the concepts more.
imagine i have 20 charts open and all 20 charts push strategy position information to GV. All fine, BUT once i remove the chart, this wont detected, the position sticks in GV. AFAIK there is no "deinit" constructor for EL to detect closing chart to cleanup.
Can you tell me quickly if this can be archived with .NET? I am lifetime user of .NET but i must dig into it to learn the concepts more.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Access to Strategy Positions
fx1,
Please refer to the information about MultiCharts .NET I have posted in my previous post.
Please refer to the information about MultiCharts .NET I have posted in my previous post.