简体   繁体   中英

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM