Multiple trades on custom indicator
-
Help I want my indicator to place new position while the is another running position if avoids other trades if there's a running position my indicator shows buy and sell arrow
-
-
You need to be more specific on what you are trying to achieve, is this an indicator you have, or do you want to create conditions in an EA to do something?
-
Hello thank you for your response
I have the indicator the condition are like this
-buy if a green arrow appear
-sell if a red arrow appearSo for example if I have a running sell trade and another sell arrow appear the EA won't trade until the trade is closed I once came across such problem and solved it just don't remember what I did but it was something that has to do with the groups
-
-
To limit this to only one trade at a time, use the same group number.

-
Ohk sir thank you for your response and help then if I don't want single trade at the time I must use a different number cause that is what I want to do?
-
Yes, or set one to buys and one to sells
-
Good day sir hope you're doing great can you provide an example maybe of what you mean so that I can save even for infuture when I come across such a problem
-
Make the changes I said and test you will see what I mean quickly. If not add a shared link to what you have done.
-
@Spenza42 Did you check if the indicator repaints? Because if it does, the bot is doomed.
-
Good day hope you're all doing well.still it doesn't work sir I did as you told me @jstap
@l-andorrà no the indicator is 100% none repaint sir
https://fxdreema.com/shared/UW43A4YRb -
If you want to limit this to only 1 trade, set to buys and sells.

-
Thank you for your help sir I managed to do it