MQL4: How can I get the average trading volume over the past two weeks?

 

1/. How can I get the average trading volume over the past two weeks? (intiger result as the amount of 'average volume')

Please for the MQL4 syntax example using the daily period.


2/. Is it possible to find out what size were the orders for each volume over the past two weeks? (double result as the 'Lots' value)

Please for the MQL4 syntax example using the daily period.


3/. Is it possible to find out how long/short were the orders for each volume over the past two weeks? I mean about holding time of opened orders by investors. (datetime result as the from 'open' to 'close' each order).

Please for the MQL4 syntax example using the daily period.


 

https://www.mql5.com/en/articles/1573

No 'easy' way i know

//z

 
zzuegg:

https://www.mql5.com/en/articles/1573

No 'easy' way i know

//z

very difficult article, but interesting - thx

Reason: