Help with calculating Swap & Commission into Profit
-
I enter several traders, some goes into loss while some stay open until my profit target is met.
I use, ''check profit (period of time)" and "close trade" blocks
Now the problem is swap and commission isn't added to the profit calculation and sometimes, even though the sum of both closed loss trades and open profitable trades are in positive, I can still get a loss.
I tried using the pink block but it can only check the profit one trade, I need to check the profit of all trades within a period of time with swap and commission added
Please help

-
Not sure I fully get it. Do you mean you need the combined profit (including commission and swap) of all open trades at a specific moment? Or do you mean the individual profit for each single trade?
-
@l-andorrà Yes, combined profit (including commission and swap) of all trades, both opened and closed within a period of time
For example, my target is $100 profit in money
I might have two closed trades:
loss of -$100
loss of -$200and a running trade of +$400
Then the trade should close for profit of $100
including commission and swap calculated