Why do ordersend as market needs buying price? Ain't i getting the asking price on market at the same moment no matter what?
- not getting ticket on ordersend()
- slippage on ordersend() function
- Testing BUY/SELL on close price previous bar
redharel:
Why do ordersend as market needs buying price? Ain't i getting the asking price on market at the same moment no matter what?
Nope, you might get slipped . . . and you Buy at Ask but Sell at Bid.
Why do ordersend as market needs buying price? Ain't i getting the asking price on market at the same moment no matter what?
You might get slipped. You specify your price and the +/- slippage. If the market isn't there, you have an out of date price. Prevents you from erroneously entering the market because of disconnection errors, network delays, old quotes, etc.
so what you saying is if i'm buying with ordersend and MODE_BUY, price = 1 and slippage = 0, if the price suddenly changes to 1.1 i won't get it on 1.1?
redharel:
Price is Bid, you Buy at Ask. If you use a value of 1.000 for
double price in the OrderSend() and Ask is 1.1 then no your order won't get filled . . . as far as I am aware.so what you saying is if i'm buying with ordersend and MODE_BUY, price = 1 and slippage = 0, if the price suddenly changes to 1.1 i won't get it on 1.1?
What is MODE_BUY ? did you mean OP_BUY ?
RaptorUK:
Price is Bid, you Buy at Ask. If you use a value of 1.000 for double price in the OrderSend() and Ask is 1.1 then no your order won't get filled . . . as far as I am aware.
What is MODE_BUY ? did you mean OP_BUY ?
Price is Bid, you Buy at Ask. If you use a value of 1.000 for double price in the OrderSend() and Ask is 1.1 then no your order won't get filled . . . as far as I am aware.
What is MODE_BUY ? did you mean OP_BUY ?
thank you RaptorUK
yes OP_BUY
so basiclly it's like limit isn't?
is there anyone positive about that?
anyone can confirm what RaptorUK said?
redharel: anyone can confirm what RaptorUK said?
I already did and explained why
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register