When I am running the same EA simultaneously on different currency charts I want another independent EA; which attach to any chart and it will act as account Equity TP/SL /Trail, and will close all the open orders of all the other EAs when the Equity TP/SL/ Trail hit.
Account equity TP/SL/Trail EA (I mean the account equity which is between account balance and margin, (Balance: xxxx, Equity: xxxxx, margin: xxxx).
When the account Equity EA hit TP/SL/Trail it will close all orders of all charts and will disable the grid (which means the other running EAs will not be able to generate more new orders ; or continuousRun they will continue to generate new orders.)
These are the parameters:
1. TargetEquity = 50; account equity T/P
2. StopEquity = 50; account equity S/L
3. EnableEquityTrailing = True;
4. EquityBE (BreakEven)= 5;
5. EqiutyTrailStart = 10
6. EquityTrailStep = 1;
7. ContinuousRun = 1; after SL/,TP/Trail hit; all open orders will be closed out and the Equity EA will stop all other EAs from generating new orders. 2 = two rounds of equity TP/Sl hit, after which the equity EA will stop all other EAs, etc., or
8. Continuous = True; the EA will not stop the other EAs after TP/SL hit.
9. UseSound = True; after SL/TP,Trail hit
10. NameFileSound = "[url removed, login to view]";