Can't close trade manually
-
If I close a trade manually, my ea will open up another trade, in that same pair, is that because I closed before t/p was reached? Please help
-
@ttu22 No, it probably is because the opening conditions are still active and the EA is not programmed to recognize that it shouldn't open more trades.
-
@l-andorrà You're probably right because on some trades it just continues opening up trades when it should only be one, is there a way to code that, sorry I'm a beginner and not very tech savy just figuring this out
-
@ttu22 Can you please share yourt project?
-
@l-andorrà I figured out the first problem, I got it to only open up one trade at a time, but it won't close any trades when it is supposed based off my conditions of indicators. I will post my project thank you any help would be great.
-
-
@l-andorrà here is the project, I have to exit conditions which I would like it to close out the trade if either one of those conditions happens, whichever first. They do not have to both happen in order to close out the trade.
-
@ttu22 You need to disconnect blocks 8 and 27, as well as blocks 9 and 24. Then try it again.
-
@l-andorrà oh ok thank you so much, I thought we were supposed to connect everything to make it work I hadn't thought of that
-
@ttu22 Never! You need to separate what need to be separated!

-
@ttu22 place a button in the init section that you can switch on/off your EA