I am using (very successfully) myOrder = myAccount.CreateOrder(xxxx) in my _indicator_. There are reasons I do not want to use this in a strategy.
All works very well, but I'd like to expand it with optional automatic placement of stop orders too. But, I can't do that until the original order is filled, and I don't seem to have access to the OnOrderUpdate outside of a strategy. I realise it is probably unsupported, but if anyone has a way to know when this order has been filled, I'd be grateful of a pointer.
Thanks.
Comment