Broker dont open order according to price + slippage

 

Hello all!


I have a problem with order open.


I try to open order with command:

OrderSend("EURUSD",OP_SELL,1,1.2912,1,0,0,"",0,0,Red);

I suppose that order must be opened at price 1.2912 +/1 1 pip or rejected by broker, but my broker sometimes open it at higher price than slippage, for example 1.2907 with suspicious divirgece.


Please help me to find what is a problem?

My broker make me fool or my code isnt correct?


Thank You!!!!

 
Leonid82:

Hello all!


I have a problem with order open.


I try to open order with command:

OrderSend("EURUSD",OP_SELL,1,1.2912,1,0,0,"",0,0,Red);

I suppose that order must be opened at price 1.2912 +/1 1 pip or rejected by broker, but my broker sometimes open it at higher price than slippage, for example 1.2907 with suspicious divirgece.


Please help me to find what is a problem?

My broker make me fool or my code isnt correct?


Thank You!!!!

Anybody alive?

 
Leonid82 wrote >>

Anybody alive?

Code looks good to me, call your broker and raise h*** or change brokers.

 
it looks like you must better use limitorders to do taht sellstop,selllimi...and so on, but you try to place a market order i think, but if you want a order to open at a different price you must use pendingorders. good luck.
Reason: