Place order sequence

Questions about MultiCharts .NET and user contributed studies.
joenetic
Posts: 19
Joined: 13 Jun 2013

Place order sequence

Postby joenetic » 29 Aug 2017

I read MC.Net programming guide and learned that MC.Net places limit or stop order on the next tick or price update after the algo condition is valid, this sequence is formed by MC or broker API? Any way to place limit or stop orders once the algo condition is valid? I am using IB as data provider and broker.

User avatar
HarrisonProgramming
Posts: 10
Joined: 22 Aug 2012
Location: Greater Phoenix, Arizona, US
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: Place order sequence

Postby HarrisonProgramming » 30 Aug 2017

Hi joenetic,

One possible way to place orders, once the algo condition is valid, is to use MultiCharts.Net's PlaceOrder method (see ITradeManager interface, TradingProfiles Property). Please refer to this page for Test_TradeManager_4 example by Stan Bokov:
viewtopic.php?f=20&t=10730

Pro: You can control and manage your orders.
Con: Tracking and managing orders properly can be complicated.

-- Harrison

joenetic
Posts: 19
Joined: 13 Jun 2013

Re: Place order sequence

Postby joenetic » 31 Aug 2017

Hi Harrison,

Thank you for your reply and information!! I will check this out!

I hope that Multicharts staff can also reply me since I paid Multicharts for the software and hope to get the support from the team.

User avatar
Henry MultiСharts
Posts: 8511
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2733 times

Re: Place order sequence

Postby Henry MultiСharts » 21 Sep 2017

Hello joenetic,

The only available solution has been already specified by Harrison above. Check this post for more information regarding the TradeManager: viewtopic.php?f=19&t=45848#p100799

joenetic
Posts: 19
Joined: 13 Jun 2013

Re: Place order sequence

Postby joenetic » 10 Nov 2017

Hi Henry,

I am trying this code, but not sure how to call Orders_FinishChanging function, what parameters I should put when call this function?

Joe

User avatar
Henry MultiСharts
Posts: 8511
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2733 times

Re: Place order sequence

Postby Henry MultiСharts » 14 Nov 2017

Hello Joe,

You don't need to call Orders_FinishChanging in your code, it is being called by MultiCharts.


Return to “MultiCharts .NET”