Hi, can I ask something about coding pls?

 
Hi, can I ask something about MetaEditor (MQL) code? In my brokrage, if I want to entry position in more than 8 Lots, i have to request to the dealer first, and after that, they will give price to me (about 5 secs). What I want to ask is, Can I access that "request" from MQL? I mean, do you have some code that makes me can do "request"?

Thanks.. :)
 
Just call OrderSend function

OrderSend function hide this behaviour (there are 3 kinds of execution - instant, request and market execution)
You send only price and slippage - OrderSend function will process your request
 
Yep i know OrderSend automatically request, but what i want is, is "code" that access that "request"? is it available? thx :)
 
1. OrderSend requests both bid and ask prices
2. OrderSend compares bid (or ask) with your open price
3. If your price fits in boundaries bid (or ask) +- slippage, then OrderSend agrees with bid (or ask)
Reason: