How to find the Lowest and Highest Level of Each buy and sell group
-
 Hi, FXDREEMA ^^
As the topic said.... I have try For Each Trade block but it only find me the oldest and newest trade.
But I need to find the Lowest and Highest Level of Each buy and sell groupFor example : When my EA open buys order there will be no sell order until the buy oders closed. And There will be not more than 10 orders of buys or sells. May be 5 or 6 or 4 up to the condition found.
In below picture the numbers showing -number 1 is oldest trade and 5 is newest trade . As I said... I want to find the highest level of trade (for Buy orders) and the number 4 is the highest.
Then If I found it ... I will Close all the five buy trades when the Highest level trade (number 4) reached 5% profit . (only number 4 profit ..not all orders)
(If the picture is not showing here ...you can look there)>> https://www.img.in.th/image/Qbn5wEPlease help

-
@jobotgold1 Can you please share the link to your project instead? That would help more than any screenshot.