Help with MT4 pending orders? (not triggering)

I have a very simple EA set up to simply create a Pending buy and Sell when a trade hits SL

OrderSend(Symbol(),OP_BUYSTOP,Lots, rask+Distancepip,3,rask+Distancep ip-StopLosspip,tp3)
OrderSend(Symbol(),OP_SELLSTOP,Lots ,rbid-Distance
pip,3,rbid-Distancepip+StopLosspip,tp4)

so it pretty much opens a pending order from current price +/- “Distance”

I usually set the distance to 10, but sometimes no pending orders are created? and i’m wondering why?,

is it as simple as moving my slippage to a higher value? (99999?)

I’m using a 5 digit broker