TP level for group of trades
-
Hello everyone,
I was trying to find a way that I can calculate the TP price level of a group of trades with different opening levels and volumes. The problem I face is that I want my target to be an amount of money. I know that I can use the block "Check Profit (unrealized)" but what I need is also a TP line on the chart for the group that i can move manually as well.
There may not be a block for that but does anyone have an idea of a way to calculate that level or work around the blocks to get that? I thought of using the "Trailing Stop(Group of trades)" block with it moving the Take Profit once per open trade and have it set for money target but that doesn't seem to be at the correct point.

-
No one has any ideas?
-
@q8carpenter Disconnect that 'trailing stop' block from that positin. It is a 'loop' block that is now connected below another 'loop' block (For each trade). You'd better separate them.
-
@l-andorrà do you know how to create this code? I need it too.
-
Apparently q8carpenter got it. Can you please confirm?
-
@l-andorrà @Benny-0 Not really, it didn't work the way i wanted it to
-
@q8carpenter Can you please share your project?