save multiple closed trade profit in one variable
-
lets say a trade is close with 3$ ,, next trade closed by 4$ .. third trade closed by 1$ .. fourth trade closed by 6$
how to keep adding total closed value in one variable ...
using ( for each closed trade + modify variable ) can save last close trade profit but i need to keep cumulating multiple close trades under certain condition
thanks
-
problem solved
thanks
-
Hello, I hope you are doing well.
I was struggling with the same problem and I found your thread, if you dont mind can you please share the solution you have used for this ?
Thank you
-
Set variable to 0 - for each closed trade/position - add each looped trade to the variable. This will get the sum of all closed trades in the variable.