Orders, Deals and Positions in MetaTrader 5 (MQL5) - Part 2

Orders, Deals and Positions in MetaTrader 5 (MQL5) - Part 2

Channel:
Subscribers:
52,600
Published on ● Video Link: https://www.youtube.com/watch?v=oQbHCoV4m7o



Duration: 4:49
2,243 views
46


We continue our discussion in this tutorial by demonstrating via example trades, how algorithmic traders should treat orders, deals and positions programmatically in source code.

A foundation is laid for future tutorials where we'll demonstrate how to write cross-platform source code in MQL that handles order management in both MQL4 and MQL5 - thus paving the way to porting existing MQL4 expert advisors to MQL5 with minimal changes.

References:
--
1) MQL5 Trading Constants:
https://www.mql5.com/en/docs/constants/tradingconstants/enum_trade_request_actions

2) MQL5 Trading Functions:
https://www.mql5.com/en/docs/trading

3) MqlTradeRequest:
https://www.mql5.com/en/docs/constants/structures/mqltraderequest

4) MqlTradeResult:
https://www.mql5.com/en/docs/constants/structures/mqltraderesult

#mql4 #mql5 #algorithmictrading




Other Videos By Darwinex


2019-10-11Adiós al VaR fijo de los DARWINs. Así cambiará el gestor de riesgo
2019-10-107) FIX Pricing Class - I | QuickFIX Application R&D for Algorithmic Trading
2019-10-106) Installing QuickFIX for Python | QuickFIX Application R&D for Algorithmic Trading
2019-10-045) Examples in C++ & Python | QuickFIX Application R&D for Algorithmic Trading
2019-10-044) Logic, Code & Structure | QuickFIX Application R&D for Algorithmic Trading
2019-10-043) App Configuration | QuickFIX Application R&D for Algorithmic Trading
2019-10-042) Variable Definitions | QuickFIX Application R&D for Algorithmic Trading
2019-10-041) Introduction | QuickFIX Application R&D for Algorithmic Trading
2019-10-04Trading sin comisiones, una idea atractiva con consecuencias nefastas
2019-09-27Información privilegiada vs. transparencia radical en los mercados
2019-09-26Orders, Deals and Positions in MetaTrader 5 (MQL5) - Part 2
2019-09-26Orders, Deals & Positions in MetaTrader 5 (MQL5) - Part 1
2019-09-20El hogar del gestor emergente
2019-09-173) MT4 Setup | DWX ZeroMQ Connector for Algorithmic Trading
2019-09-176) ZeroMQ Server Config | DWX ZeroMQ Connector for Algorithmic Trading
2019-09-174) Coding Setup (in any language!) | DWX ZeroMQ Connector for Algorithmic Trading
2019-09-171) Intro | DWX ZeroMQ Connector for Algorithmic Trading
2019-09-177) Example Usage | DWX ZeroMQ Connector for Algorithmic Trading
2019-09-172) Dependencies | DWX ZeroMQ Connector for Algorithmic Trading
2019-09-175) ZeroMQ Client Config | DWX ZeroMQ Connector for Algorithmic Trading
2019-09-132) Conda Environment | Automating DARWIN Trading Strategies on VPS Servers



Tags:
algorithmic trading
algorithmic traders
algo trading
algo traders
Forex Trading
FX trading
Investing
DARWINs
Darwinex
Investment
Risk
Hedge fund
metatrader 4
metatrader 5
mt4
mt5
mql4
mql5
deals
orders
positions
MqlTradeRequest
MqlTradeResult