Have you tried to use Bid?
Why would I use Bid for a Buy position?
My OrderSends are being rejected due to invalid price in 625.
No matter what the slippage value included in the order, it will only be executed if the OrderSend price and the Bid/Ask is EXACTLY the same.
This is the code that places the order
I get lines and lines of error reporting, I just show a few here
I cannot understand why these orders are being rejected when they are well withing the margin given by the slippage.
As you can see, the order was only executed when the order price and Ask were exactly the same.
Try new_order_entry after RefreshRates() and slippage bigger than 3 pips:
RefreshRates(): new_order_entry = Ask; //--- or MarketInfo(Symbol, MODE_ASK)
The new_order_entry must be the Ask price. What is the value you are affecting to this variable ?
Unless there have been some changes that I have not seen in the documentation, then what you say is not true.
As long as the Ask price is within the range new_order_entry + - slippage, it should be executed.
Try new_order_entry after RefreshRates() and slippage bigger than 3 pips:
RefreshRates(): new_order_entry = Ask; //--- or MarketInfo(Symbol, MODE_ASK)
Sorry, but that is not what I wanted, if price suddenly moved a lot in between ticks, I will not blindly accept whatever the Ask happens to be.
Unless there have been some changes that I have not seen in the documentation, then what you say is not true.
As long as the Ask price is within the range new_order_entry + - slippage, it should be executed.
There is no change, it has always been so. Slippage doesn't mean that you can set an other price than bid/ask. See documentation of OrderSend.
At opening of a market order (OP_SELL or
OP_BUY), only the latest prices of Bid (for selling) or Ask (for buying)
can be used as open price.
Slippage means that if the price (bid/ask) is no more available when your order is executed, then you accept a slippage of x points.
There is no change, it has always been so. Slippage doesn't mean that you can set an other price than bid/ask. See documentation of OrderSend.
Slippage means that if the price (bid/ask) is no more available when your order is executed, then you accept a slippage of x points.
Some Brokers will accept the Order regardless of the price you try and open at . . . Bid, Ask 10,000 0.2 . . . anything. Yes I know the Documentation says otherwise and yes I contacted the Service Desk about it, 18th March last year, no reply, and I contacted Rosh . . . no help
Some Brokers will accept the Order regardless of the price you try and open at . . . Bid, Ask 10,000 0.2 . . . anything. Yes I know the Documentation says otherwise and yes I contacted the Service Desk about it, 18th March last year, no reply, and I contacted Rosh . . . no help
there are a lot of brokers calling themselves ECN and ignoring slippage
try to change a server

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
My OrderSends are being rejected due to invalid price in 625.
No matter what the slippage value included in the order, it will only be executed if the OrderSend price and the Bid/Ask is EXACTLY the same.
This is the code that places the order
I get lines and lines of error reporting, I just show a few here
I cannot understand why these orders are being rejected when they are well withing the margin given by the slippage.
As you can see, the order was only executed when the order price and Ask were exactly the same.