This problem , it's i miss understood or bug in this block.
My EA have multiple orders [ example 1-10 order buy and 1-10 order sell ; take profit all >= 1 $ ] . When price up my EA TP all order buy + oldest 1st,2nd sell order ; profit all buy + sell 1st,2nd >= 1$ . For each trade block 
and get profit 
In my understanding value from for each trade = profit 1st order + profit 2nd order , but actual value = only profit 2nd order [ try chang " n " trades , 3 value = only profit 3rd order ]
fxDreema , Can you help me ? How can i get sum of profit oldest-order [ 1st+2nd ; 1st+2nd+3rd ; 1st+2nd+3rd+4th ............]
W
Posts made by worapongk1
-
About For each tradeposted in Questions & Answers
-
RE: How to find divergences in the graph and indicator?posted in Questions & Answers
In your picture you must know 1=ZZ low id 0,2=ZZ low id1
in block"condition "
indicator ZigZag mode low by id 0 > mode low by id 1
and then you must know ZigZag mode low by id 0 and ZigZag mode low by id 1 == candle id ?
in block"condition "
indicator ZigZag mode low by id 0 == candle candle id [you replace with "variable1 "]
in block"condition "
indicator ZigZag mode low by id 1 == candle candle id [you replace with "variable2 "]
For indicator [macd,rsi]
in block"condition "
indicator macd candle candle id [you replace with "variable1 "] < macd candle candle id [you replace with "variable2 "]
if you want EA draw line ,you can add draw line block below block"condition "