Error 130 for pending orders

 

hello,

in my ea I get error 130 on sending a pending order. I've checked Bid/Ask and price of the order but don't see any errors.

For example:

OrderType: OP_BUYSTOP
Bid: 1.29915000
Ask: 1.29928000
Price: 1.30056000 (Is 0.00128 above the current Ask price)
S/L: 1.29916000 (Is to close to Bid and Ask but on pending orders it doesn't matter, right?)
T/P: 1.30203000
StopLevel: 0.00018000

Can anyone give me a hint whats wrong?
Thanks in advance.

best regards

 
kesch:

S/L: 1.29916000 (Is to close to Bid and Ask but on pending orders it doesn't matter, right?)

wrong
Reason: