It has nothing to do with the order count limitation. This is a normal behavior, because you set a pending buy stop order at a price under the actual market price, so this pending order is automatically converted into a market one.
If you want to prevent this to happen, just add a condition to test if the market price is under your long order threshold price: (and vice-versa for the short order)
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok