I know that maybe this post is repeated but I believe it's worth it to try to find the sum of swaps, commissions, etc...
-
I've reviewed many other posts and haven't found anything really solving this problem.
Check out my test project and the image.
https://fxdreema.com/shared/oAsdgvr9c

I want to add up all fees from all buy orders so that I can close my trade (fully profit).
The other blocks I have already tested and depending on the type of test they do not account for swap and commission generating losses.Does anyone have any idea how to solve this.
Below is everything I've researched, tested and validated that it didn't work.


-
@ontradingx AFAIK there is no block in fxDreema that can do that. I'm afraid the only option is asking a programmer to create some custom code to get it.
-
@l-andorrà
Unfortunately, I tried to talk to the owner of Fxdreema but he no longer responds.
If he tweaked this or created another block that worked it would help a lot.
Thanks for trying to help me. -
@ontradingx You're welcome.
-
@ontradingx
Have you considered that the swap is included in the profit?
So if you close the positions with 0 profit you have already earned the swap.
If you want to add the single values, you have to do it a bit differently.
I have attached an example for you. -
@rgoo
Thank you very much my friend, I will test this option, I believe that it is not always that the Swap and commission are being calculated by Fxdreema, maybe the closing speed of the orders when they are many hinders in closing some negatively, so I am considering that the closing is not it's happening simultaneously on the same tick, and yes every tick of the market, I'm analyzing it.
Thank you very much for trying to help, I will use your project as a test.