I want to know if I have an opened position.
If Position.MarketPosition != MarketPosition.Flat ----- this would mean I have an opened position, right?
If Position.MarketPosition = MarketPosition.Flat -------- this would mean I don't have any opened position, right?
Is there another way to know it?
Is posible to check if there is an order waiting to be filled with the strategy builder?
Can we know if its a buying or selling order?
How?
I was trying with bars since exit execution but is not working
Thanks
Comment