Close First and Last position
-
Hello brothers
If i have 10buy position as in Grid, First trade loss -100$ and last trade profit +100$. I want to close these two position and keep another 8position to continue.I mean whenever first trade + last trade >= 0, close it.
Believe all brothers out there can help this.
Thanks in advance and have a nice day . . . . -
@Pheaktra-Capo Will you always consider the first one and the last one only? No intermediate trades will have to be checked?
-
Hello brother. There will be check last one, two or three trade to cut off the first one that holding loss. But first i need the idea how to take first and last trade.
-
Pink blocks, for each position newest to oldest is the last, oldest to newest is the first
-
@jstap I got it. It work fine. But get the value from first and last trade to calculate profit seem not correct value
-
@jstap now it work very well.
I just forget to modify variable of first, last, and sum value back to 0 after close trade -
