@seemab you are thinking in terms of top and bottom buy trades, but the EA doesnt separate them as such. It makes the calculations every time some trade is closed, not when a pair of 2 trades is closed.
So your goal is to track total profits in variable "B"?








