Specification
EA should copy TP and SL, and close the slave-trade.
For SL and TP I wanna set a factor like 1.2, which means, that the Slave-Trade has a SL of 1.2*Master-SL.
More features:
-The Slave should open one order from the Master as 3 orders, each one with another "code" in comment.
Example: Master has detected a new trade in EURUSD. Slave should open it 3 times with comments
"EU_1", "EU_2", "EU_3".
In settings of the Slave I wanna set the lot_factor of each of the trade_code.
The Master should check all open trades of a pair. I have only EURUSD and GBPUSD.
If all trades of EURUSD have a profit of >$1000 all trades in Slave with "EU_1" should be closed.
If all trades of EURUSD have a loss of >$1000 all trades in Slave with "EU_2" should be closed.
If all trades of EURUSD have a loss of >$2000 all trades in Slave with "EU_3" should be closed.
If all trades of GBPUSD have a loss of >$1000 all trades in Slave with "GU_1" should be closed.
If "EU_3" are closed, all EU-TRades in Master should be closed.
If "GU_1" are closed, all GU-TRades in Master should be closed.
If "EU_3" are closed, the Master should stop copying EURUSD for the rest of the month.
If "GU_1" are closed, the Master should stop copying GBPUSD for the rest of the month.
I wanna see the Profit/Loss-Amount of all open trades of a pair in the trading-window of the Master.
I wanna see the Profit/Loss-Amount of all open trades of a comment in the trading-window of the Slave.