I am placing working orders on the market using
EnterLongStopMarket
EnterShortStopMarket
at a calculated price and have drawn a dot to show me the price visually on the chart. I can see that the order goes through the process of submitted, accepted and working BUT when a bar hits the price I am getting the error message
"Sell stop or sell limit order cannot be placed above the market" and vice versa for the buy side but the actual price is in the right place.
I am running per tick and would expect when the price is reached that the order would just be "actioned" but instead it is rejected and get error message above.
I have seen that the price is either below the market for a sell or above the market for a buy but when the price has been reached then it gets rejected and breaks.
Any thoughts why my orders are rejected?
Thanks
Comment