stop at profit ea
-
I have a buy and sell trade setup to martingale separately but I want the trading to stop (not reset after profit ) how do I create that in your ea builder?
-
@lenford depends on what you need. You can either use if the realized or unrealized profit blocks or this

in any case end it with terminate
-
@fabien-s
Hello
I cant see "Trade statistics" in the position block !!
maybe it changed in the new update? -
Are you creating your EA for MT5? If so that option is not available, just for MT4.
-
@l-andorrà exactly, what should I use in mt5? I want to check sum one day profit and if good stop my EA.
-
What do you need exactly?
-
@l-andorrà I have 100$ Balance and i want when my balance is more than 105$ EA stop working.
i checked before one way but doesn't work. it should be easy!
i didn't received any comment on the chart then block doesn't work!
my server start at 1 am and Ea stop 23 pm
-
Forget the buckets if trades. You do not need them here. Try this:
-
@l-andorrà thank you.
i copy that and tried but doesn't work and EA take more profit til the end of the day!i don't know why!
-
Can you please share your project?
-
@l-andorrà ok, finally it working, when i use group number it working. but i hade one group without number , should be working! anyway, thank you.
-
@l-andorrà i have a problem with this when balance changed,
sorry, how can i get the sum of the profits from the close positions in a period?for example, 1 am till 11 pm how much I got profit?
thank you man
-
You can add this block in the middle of my last project:

-
@l-andorrà but i don't get from the balance per cent. i need just profit sum
-
Didn't you say that was already fixed?
-
@l-andorrà i checked when i calculate profit with the balance that is not good.
because of balance change after the first profit.
how can i take just sum from profit?
thank you -
Don't get me wrong, but without knowing what is the context of your EA this will be a never ending story. Could you please share it?