[MC for TWS] StopLoss orders are gone after restarting MC

Questions about MultiCharts .NET and user contributed studies.
Lakman1
Posts: 4
Joined: 13 Aug 2014

[MC for TWS] StopLoss orders are gone after restarting MC

Postby Lakman1 » 13 Aug 2014

Hello,

when i do a StopLimit order and attach a StopLoss as an exit strategy, the StopLoss disappears every time i restart MC. Why doesnt MC recognize the StopLoss orders? Isnt it possible to attach the StopLoss to my StopLimit order and routing it together to the TWS?

Regards

Lukas

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: [MC for TWS] StopLoss orders are gone after restarting M

Postby Henry MultiСharts » 13 Aug 2014

Hello Lukas,

This happens when OCO group is emulated on MultiCharts side. Please go to File->TWS Broker settings->Settings->make sure "Use native OCO group" is enabled.

Lakman1
Posts: 4
Joined: 13 Aug 2014

Re: [MC for TWS] StopLoss orders are gone after restarting M

Postby Lakman1 » 13 Aug 2014

Hello Henry,

ty for your response!

Problem cant be solved, this option is already acivated!

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: [MC for TWS] StopLoss orders are gone after restarting M

Postby Henry MultiСharts » 13 Aug 2014

Does StopLoss order remain at broker when you disconnect the TWS broker profile in MC or close MC?

Lakman1
Posts: 4
Joined: 13 Aug 2014

Re: [MC for TWS] StopLoss orders are gone after restarting M

Postby Lakman1 » 13 Aug 2014

Only the STL Order is routed to the TWS, the SL is not transfered to the TWS. There ist only a semi transparent StopLoss icon in MC but no order. This icon also disappears when i restart MC.
Attachments
1.png
(91.76 KiB) Downloaded 485 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: [MC for TWS] StopLoss orders are gone after restarting M

Postby Henry MultiСharts » 13 Aug 2014

The StopLoss order is not sent to the broker (transparent) because your entry order is a pending order that is not yet filled. That is expected behavior. Once the entry order is filled - the StopLoss order will be sent to the broker and will remain active even if you close MultiCharts (only when native OCO group is used).


Return to “MultiCharts .NET”