MQL4 Can you get the trade volume from the One Cli

2019-08-07 21:32发布

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条回答
倾城 Initia
2楼-- · 2019-08-07 21:54

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 ...

查看更多
登录 后发表回答