How to sum trades size?
-
Hi everyone,
it's possible su sum the closed trades volume?For example, create a formula that does the following.
Trade1 Closed size = 0.1
Trade2 Closed size = 0.2
Trade3 Closed size = 0.5and so on and have a result in a variable?
Thanks in Advance
-
@fenixtrading Have not used bucket of trade's much but am pretty sure this will do it:

-
@fenixtrading How many closed trades will you need? There can be hundreds of them in your MT4's history tab. Do you need all of them?
-
@jstap @l-andorrà thanks for your answers these block are useful i never used it.
Basically what i'm trying to achieve is to sum the size of winning trades and the size of the losing ones and store these numbers into 2 variables.
I don't need the full hystory, just the trades after the EA initializzation.
-
@fenixtrading Then you will need a way to identify when that initialization happened. Otherwise, that configuration will take all trades in the history tab.