EA trading stops manager.
-
Hello friends, picture a scenario:
I have 5 EAS each running on a different Asset.
I don't have any management in the code of these EA's.
I want my EA, in this case EA number 6, to only monitor the profit made on the day, when this total profit added to the floating balance (profit/loss of all open orders) reaches a profit of 5$, these number EAs 6 should then prevent all other EAs from continuing to operate until the next day.
It doesn't matter how he's going to prevent it as long as he doesn't close metatrader5 and also reactivate the next day. -
interesting scenerio. 1 question. are these EA bulilt from fx dreema?
-
with fxdreema we can make it close all trades on account even the trades placed by other method either manual or another EA but we cant control the operation of another EA running on the account to prevent or time their execution of trades
-
@ontradingx You don't need a 6th EA to do that. Simply add a common profit counted within each of the 5 EAs that will stop them all till tomorrow when that profit is reached.
-
@l-andorrà
The biggest problem is that the other robots weren't developed in Fxdreema or by me, I don't have access to the source code to put a command there.
I think there is some code or something that can influence the "something trading" button in Metatrader 5 that makes any EA stop trading in metatrader. -
@ontradingx If there is a magic number set them all the same, otherwise create different EA's to control each, otherwise this is not possible.
-
@ontradingx what kinda strategy is the robot doing? another idea is to rebuild the strategy on fxdreema
-
@youngtreptrader said in EA trading stops manager.:
@ontradingx what kinda strategy is the robot doing? another idea is to rebuild the strategy on fxdreema
Support and resistance strategies.
I will try to find out if there is any code that disables and re-enables the metatrader to put in the " mql " block
Thank you all for your help. @Youngtreptrader @l-andorrà @jstap