MQL4 Can you get the trade volume from the One Click Panel?

北城余情 提交于 2019-12-11 14:47:08

问题


Does anyone know if and how you can get the trade volume from the One Click Trade panel on the current chart?

I'm putting together some quick trade scripts and would be great to pull the current trade volume or lot size from the one click panel.

Thanks in advance


回答1:


IMHO no

The recent 24 months of Metatrader 4 ( re-inventing ) product updates have brought a few teasing elements ( One-Click-Trading[TM] (OCT), or Depth-Of-Market (DOM), New-MQL4 (nMQL4) ).

The bad news, nevertheless, is that neither of these have improved the programming of the trading experience.

OCT has ( according to previous research ) no API exposed into MQL4 / nMQL4 namespace

DOM displays, if any, just the stack of own ( local ) orders

nMQL4 has devastated ( due to it's changed syntax/compilation rules) literally countless thousands of man*years invested in MQL4 & DLL/API-integrated code-bases

In order to present at least somehow balanced view, one must also admit a positive move in the last 24 months.

Last summer Metatrader Terminal, Build 452+, stopped blocking the key thread for low-intensity HFT practices and the central blocking via TradeContextBUSY started to remain free for further Trade Management tasks. Nevertheless a good question is, how can that be possible so long time, to remove such a brutal real-time trading system flaw as late as in 2013 ...



来源:https://stackoverflow.com/questions/25472320/mql4-can-you-get-the-trade-volume-from-the-one-click-panel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!