Move Take Profit to modify as a group
-
Hi.. Can anybody here help me to get the Take Profits of all open trades modify as a group? At the moment I can only get all TP of orders opened as a group in one place, or each child trade has its own TP ... I would like to modify them all together Thank you
https://fxdreema.com/shared/c6zQNesEc
Edit: The idea is that the group Take profit line, of all open trades in negative, would be place 30% of negative profit as each new child order open. If price action move in positive and hit the accumulated profit line of all trades , all trades must close. Please see picture

-
@alphaomega I remember something like this was asked in this forum sme months ago and roar (who else?), once more found the solution by creating a loop. I'm sure we can find that thread throught the search engine.
-
@l-andorrà ok ... thanks bro.. I will try and search it
-
L'andorra I think you are talking about the Profit math subject., but that I could not make it work. It is way to high for me to even try to modify that calculations... and I really tried, but as soon as you change something in that setup .. everything when wrong..
https://fxdreema.com/shared/xblYjK0ucIs there anybody that can help me with this Take Profit modify:

-
@alphaomega Yes, that was what the example I was thinking about. I'm afraid I cannot offer an alternative answer to that complex issue.

-
Could any of the senior members help me with this problem please? Have been struggling with this for weeks and there is no answers that I can understand in the search ...
Thank you in advance -
I'm interested in this question too......
-
@ambrogio Here is some clues: I am just not able to understand anything... That profitloss variable needs another input called "profit" but I cannot find that post anymore to give you
https://fxdreema.com/forum/topic/4438/how-can-i-put-take-profit-as-level-price/6


I have an expert source code that do this TP modified as a group. I was wondering how to put that code into a MQL block and then add it as a condition... But I do not know how to do it. Would you be able to help?I still think the answer lies with josecortesllobat and roar but they are busy these days
https://fxdreema.com/shared/xblYjK0uc -
0_1600937324721_1515969175968-miro1360_gravitybe_1.0.mq4 This indicator from Miro posted at sometime, works out where basket of trades goes into profit. Maybe you can use it to do this ? It draws a line which you can get price level
-
I think this is the tread Hadees was talking about
https://fxdreema.com/forum/topic/6979/quick-question-for-miro1360