Search found 3 matches
- 09 Jan 2020
- Forum: MultiCharts .NET
- Topic: How do you cancel an IOrderStopLimit?
- Replies: 5
- Views: 2476
Re: How do you cancel an IOrderStopLimit?
Hi kentc, Have you considered controlling it with an integer? ex. orderPersist must equal 1 for the order to be valid and when your conditions change it equals 2. You could also script a counter that works with the integer that cancels the order after x bars. That's what I do - use internal flags t...
- 07 Jan 2020
- Forum: MultiCharts .NET
- Topic: How do you cancel an IOrderStopLimit?
- Replies: 5
- Views: 2476
Re: How do you cancel an IOrderStopLimit?
Hi kentc, when the conditions that send the orders in your script are no longer met the order cancels. As far as changing price goes I think the old order is canceled when no longer valid and once conditions are met a new one is submitted. This is just my basic DIY approach, an advanced coder will ...
- 03 Jan 2020
- Forum: MultiCharts .NET
- Topic: How do you cancel an IOrderStopLimit?
- Replies: 5
- Views: 2476
How do you cancel an IOrderStopLimit?
I'm trying to run this through a Strategy w/o broker connection. I can create and place an order but unable to cancel the order if market conditions change. How do I cancel a pending StopLimit or Limit order. Also, can you change the entry or stop limit price once the order has been placed? Thanks! ...