Can I open a profile when no trades are running?
-
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.
-
Hello @brad-0 ,
I believe checking some conditions (such as equity, trade count, traded pairs etc. or what ever condition you have) for EA to trade would be better and easier solution for you.
Regards.
-
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.
-
@brad-0 I understand. I thought that you have EA created with fxdreema.
Unfortunately I can not provide an idea on this.
-
@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.
-
@brad-0 I searched for custom MQL code for this but could not find any solution. Maybe you should think another solution.
It would be better if your commercial EA did not close any tabs, suspend trading in other tabs instead until bad trades recovered. Maybe you can ask such thing to the EA creator.