Simple break even EA
-
Hello. I am trying to develop a simple EA that moves my SL to BE once I reach a profit level, but despite the EA's ease, I am not able to make it work for me. The procedure would be the following:
- First, I would open a transaction manually, also manually indicating its SL and TP.
- I would drag an EA onto the chart that simply moves my SL level to BE once I have reached a profit level equal to the risk I have taken (SL size).
- End.
As I mentioned before, despite the simplicity of what I'm looking for and building the EAs apparently well, I can't get them to work. Below is an image with an example of what I think would be the simplest and at the same time well done, but it has not worked for me. I have also tried replacing the "pass" block with "for each trade", with "if position" and with "no trade is running" (in this case using its negative output). None of that has gone well, so I assume it's some silly detail I'm overlooking, but I can't figure it out. Can somebody help me? Thank you so much.

-
@esteban_d try again with the "for each trade" or "if trade" above the BE block but defining the group (manually and automatic) of each block
-
@Uriel-0 I'm going to try it, I'll tell you, thanks
-
@Uriel-0 said in Simple break even EA:
@esteban_d try again with the "for each trade" or "if trade" above the BE block but defining the group (manually and automatic) of each block
it worked! I specified "manually" in both blocks, that was it. Thank you so much
-
Mark this topic as solved