Open trade immediately when TP hit (same lot size)
-
Hi team
I am trying to build an EA that will immediately open a trade once TP has been hit, for the same lot size as the closed trade. I only want a trade to open when the initial trade closed in full (and not when partially closing a trade). I seemed to have managed this in the settings.
https://fxdreema.com/shared/R8lM5AuVc
In back testing, this seems to work but I have just tested it live and the trade failed to open. The trade that closed was an existing trade (i.e.. was opened before applying the EA to the charts).
Any guidance is appreciated. Thank you.
-
I believe the issue here is because the trade existed BEFORE I applied the EA and so, it does not manage existing trades.
How can I change this?
-
Can anyone help with this?
-
Block 1 is filtering buys only while block 2 is searching for buys and sells. Both need to be coordinated accordingly.
-
@l-andorrà Thank you. I did not notice that but I thought it wouldn't have mattered as the first block is filtering the initial trade. Let me try this again.
-
Sure. No problem.