작업 종료됨
명시
I use copy EAs to copy trades from different trading accounts to a Main MT4 account.
The trading accounts have Martingale EA's so when the Main account go into x% drawdown, the copy EA's that have not copied any trades must automatically be stopped from copying trades.
The way I do this manually is to change "Allow live trading" in the copier common setting.
I also want to be alerted via the terminal when it happens.
The trading account/accounts that cause the drawdrown must still be able to manage the open trades/grid series, so the Autotrading must be enabled but no new trades from the other accounts can be copied.
The other trading accounts may open trades, yes, but they can not be copied to the Main account.
The EA I am asking for will be installed on the MT4 Main account where the copy EA's are installed.
I am able to set magic numbers and comments in the setting inputs of the copy EA's.
So the EA I am asking for has to be able to recognise the magic numbers (or comments) on the trades copied by the copy EA's.
Examples:
In the EA I am asking for I need to be able to put which magic number to be affected. In the map attached the magic numbers are: 111,222,333,444.
Example 1:
If trading account 1 and 2 have open trades that are copied to the Main account and the Main account reaches x% drawdown, Copier 3 with magic 333 and Copier 4 with magic 444 needs to be stopped from copying trades.
Example 2:
If copier 1 is the only one that has copied trades when the Main account reach x% drawdown, then copier 2+3+4 needs to be stopped.
If possible I would like copying to be enabled again when drawdown go back to x%.
I do not run any other EA's than the copiers in the Main account.