Hello to all,
I don't know if the following subject have already been placed in this community, but does anybody know how to close a position in Mql4 without openning another?
My EA have three conditions, different from the ones of 'crossing MA', that have only two: crossing each other upwards or downwards. They don't wait nothing because the new signal is there. So, once closed the position, it's hour to open the opposite one.
In my case, however, once closed, the system should wait for the next signal, that may be opposite to the previous one or not.
And that is the problem. If it simply opens a new position at the same time that it closes the previous, without waiting for the correct signal, all the profit may return to the market. And this situation is happening.
Thanks very much for any contribution.