Yes. I know that. 
But it seems like this one didn't take any trades if there is already one open. But I solved it by making a new one for only BUYS and one for only SELLS. And that one seems to work.
Posts made by brad 0
-
RE: Just check the MagicNumberposted in Questions & Answers
-
Just check the MagicNumberposted in Questions & Answers
This is probably very very easy to solve. I am just running an EA on my account and to get it started I have my own EA to kick in as soon as there are no trades open. So I made this little simple EA to open, let's say a BUY order when I set the chart to "Long only" on the EURUSD. And it works fine. But now I_ want to do the same on "short only". but since there is already one open on the EURUSD this one will not open. Even if I set them to different magic numbers. So where do I change it to look if any order is not open on the actual pair AND magic number.

-
RE: Can I open a profile when no trades are running?posted in Questions & Answers
@paragorundu nope. But I thought I should make one with fxdreema if it could send something to either restart MT4 or load a profile in MT4.
-
RE: Can I open a profile when no trades are running?posted in Questions & Answers
But I already have a good system running. But when the recovery starts, it closes the tabs for the EA making the trades. And that EA is a commercial one. I just need something to load my default windows when all trades are closed. And usually it's every day.
-
Can I open a profile when no trades are running?posted in Questions & Answers
Is there a way to load a profilen in MT4 when I don't have any open trades from an EA. I have some trades starting during the night and if they go wrong I have an Ea trying to recover those trades and close the tabs with other EA's running those pairs. But when they are solved I would like to start with my default profile again if I don't have any open trades at around 11PM. Is there a way to do this from an EA? Or maybe have it rebooting the MT4.
-
RE: Remove open TP?posted in Questions & Answers
Sorry. I didn't see that "For each trade" comment. It's working fine now.
Thank You!!!
-
RE: Remove open TP?posted in Questions & Answers
The problem could be the magic number.
Is there a way to have it removing all TP's in all trades no matter what magic number?
I tried it now and changed the MagicNumber and it changed TP in one of 4 trades. -
RE: Remove open TP?posted in Questions & Answers
Then this would work, but it doesn't. So what am I doing wrong here?

-
RE: Remove open TP?posted in Questions & Answers
@Xfire I tried the following, but that didn't work.
Maybe I did it the wrong way?
-
Remove open TP?posted in Questions & Answers
Is it possible to remove the Take Profit in open trades?
I couldn't figure out how. I have an EA opening trades and setting the TP too close. I would like to remove all open trades in that pair and let another EA I have take care of the TP.
Is there a way I can make this here? -
RE: Total lots open on screen?posted in Questions & Answers
Thanx a lot. Finally I had time to test this and it seems to work. Now I will try to make it work the way I want.
-
RE: Trade if open trades are less than...posted in Questions & Answers
@l-andorrĂ I want it to check my open orders lot size in total. If I have open orders that are more than 0.1 lots in total, then the EA shouldn't open any new orders. But if the lots of the open orders are below 0.1 lots, then it would be ok for a new trade by this EA.
So I just want it to check all the open orders on the same currency pair before it takes another trade. -
RE: Total lots open on screen?posted in Questions & Answers
@l-andorrĂ that one doesn't seem to work. It just gives me 0.01 lots on the screen even if I have more than that in my open trades on the same pair as the EA is attached to.
-
Total lots open on screen?posted in Questions & Answers
Is it possible to see the total lots open on the current pair on screen? I can't find a block for that.
-
RE: Trade if open trades are less than...posted in Questions & Answers
Actually it could be more than one trade open.
-
Trade if open trades are less than...posted in Questions & Answers
Is there a way to open a new trade if the open trades are less than 0.10 lots?
Which block should be used then?I want it to only open a new trade with 0.01 lots if the open running trades on the same pair are less than 0.10 lots.