Forum

MQL5 Buy limit at ask price-> Return code:10015

Hi All, I would like to buy at the current ask price in my MT5 platform at AMPGlobalEU broker. I do not want to use market order because I could get slippage. My goal is to take the trade at the actual ASK price or not take it at all. How can I do that? (action: TRADE_ACTION_PENDING , order