Coding Problem - Cancel unfilled orders at next bar open

Questions about MultiCharts and user contributed studies.
dahmen walter
Posts: 73
Joined: 19 Oct 2007
Has thanked: 46 times
Been thanked: 4 times

Coding Problem - Cancel unfilled orders at next bar open

Postby dahmen walter » 09 May 2013

Hello,

I want to be able to cancel pending orders not filled within the bar the order was placed and have this functionality included in my signals. I was not able to find key words for pending orders management in the wiki - The conversion of unfilled orders to market orders is just the thing I definitely want want to avoid.

Anyone having a clue about how to achieve this?

Thanks in advance

W.

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

Re: Coding Problem - Cancel unfilled orders at next bar open

Postby Henry MultiСharts » 09 May 2013

Hello Walter,

There are no reserved words to cancel an order. The order is valid at the broker while conditions for order generation are met in the code. There was a similar discussion in this topic, please look through it.


Return to “MultiCharts”