Error when place BUYSTOP order

 

int ticket = OrderSend("EURUSD",OP_BUYSTOP,1,1.20000000,3,1.10000000,1.60000000,"Open Buy",0,0,Green);

I used code above to try to place a BUYSTOP order, but I got a 130 error which means "Invalid stops". I don't know why 1.10000000 is an invalid stop?

Thanks!

 
BuyStop pending order has to be above current price.
 

You are right, but it's kinda different from my another platform... Strange...

Btw, can you tell me what's the difference between BuyLimit and BuyStop? Thanks.

 

BuyLimit pending order has to be below current price.

BuyStop pending order has to be above current price.

SellLimit pending order has to be above current price.

SellStop pending order has to be below current price.

 
But if I want to place a Buy order, why would I place above current price? To place when break certain key resistance?
 

yes, or any other reason you may think up where you want to buy but only if it goes higher

 

I see. Thank you very much.

Reason: