Skip to content

Instantly share code, notes, and snippets.

@Synesso
Created March 5, 2019 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Synesso/4dc950ebb97a73e423168ca95ecc35f3 to your computer and use it in GitHub Desktop.
Save Synesso/4dc950ebb97a73e423168ca95ecc35f3 to your computer and use it in GitHub Desktop.
MqlTradeRequest request;
request.action = TRADE_ACTION_DEAL;
request.symbol = Symbol();
request.volume = 0.01;
request.type = ORDER_TYPE_BUY;
request.type_filling = ORDER_FILLING_AON;
MqlTradeResult result;
OrderSend(request,result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment