Calculate the sum of profits
-
Hello community,
does anybody know a way to calculate the sum of running profits of all open profitable trades (without the sum of losses of the running loss trades)?
Greetings
Tommi -
modify a variable to 0 - for each trade/position - check profit (>0) - formula block (add in loop trade profit)
-
@jstap said in Calculate the sum of profits:
modify a variable to 0 - for each trade/position - check profit (>0) - formula block (add in loop trade profit)
Thank you @jstap !
Is this correct:
https://fxdreema.com/shared/Y7QOkdq5
? -
Yes but no because you didn't set the variable to 0 before starting the loop:

-
Thank you @jstap ! I will try it.