Download MetaTrader 5

Scripts: calculatelots

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
182424
MetaQuotes Software Corp. 2009.02.23 07:27 

calculatelots:

some people worked as ib , they used to need to calclute total trade lotes. here it is.

Author: stone

MQL4 Comments
16319
MQL4 Comments 2009.02.23 20:10  

good ide friend,

i try it, but output is 0.01 lots, though there is no trade at all

any wrong?

and how if the result is just closed trades, exclude limit order


thx

stone
20
stone 2009.02.24 04:04  

the result is closed orders.

and the only optime is start from startime and end from endtime will be caculated.

please read the source code see what it is. any question contact me. tell me your account and invest password so i can make same test as what you have done.

stone
20
stone 2009.02.24 14:36  

insteresting. i don't know why .

tell me some info of your account.

it is exclude limit order.

Thanh Nguyen Chi
276
Thanh Nguyen Chi 2015.08.17 11:59  
I tried. But it's not exactly. 
To add comments, please log in or register