Help Clarify "For Each Position/Trade" Block
-
Hi'
I was creating two EA to help me trade cfd stocks on MT5. One EA to help me opening trade on a certain price and the other one for a rush buy meaning using market order.
For sake of simplicity let's call the first one "EA Pending" and the second one "EA Rush".
So, the EA Pending have a block called "For Each Position" which gonna trigger the next block where it will move the stop loss to breakeven when the price hit 25% of TP. And the "EA Rush" doesn't have any of that block.
.
So, from what i read on the forum and some documentation, the "For Each Position" are gonna scan thru all of the available trades that are still open. All trade included wheter it's openend by the EA Pending or openend by EA Rush will be scanned.
.
Problem is, when i open trade using EA Rush, when it reach 25% of the TP, the stop loss didn't move and nothing happen. Even when it reach 50% TP, the stop still not move. Meanwhile, when i open a trade using EA Pending, even i change the symbol opened on the chart, when it reaches 25% of TP, the stop will be moved.
.
Here's my settings on "For Each Position" block, is there anything wrong i am doing here?

Regards,
-
I'm not sure I can help or anything, but could you at least share the project file so somebody can?
-
@cdwilder1 I agree. Can you please share the link?