Lavoro terminato
Specifiche
I need 2 EAs - one MASTER and one SLAVE EA
Please apply ONLY if you can deliver it in 1-2 days after we agree on price. If you are experienced it should not take you more than 2 - 4 hours.
MASTER EA
This EA will monitor the AccountBalance. At each new day it will start over and check the new AccountBalance as starting point
I am looking to build a trailing EA based on balance not pips.
For example: I start today with 10,000. Once I reach 9,500 - this is -5% all orders are closed and a global parameter is set to true so the SLAVE ea can pick it up and stop opening any other trades. On next day we start over.
If I reach 10,500 then my stopAll is moved to 10,000, if I reach 10,600 then my stopAll moved to 10,100;
Once I reach
DecreaseRiskAtPctGain
% profit another global parameter is set for the Slave EA to use 50% of risk
once I reach the stopAll level we close everything down if any orders are open
the stopall monitors the Equity.
at each new day we start over, e.a. startbalance 10,600, disable any global variables to 0 and so on.
SLAVE EA
receives via global variables only 2 values.
StopEA -- if the EA should stop because the MASTER stoped everything
DecreaseRisk - if the EA should decrease the risk by 50%
On next day we start over
TESTING : for experimenting make the MASTER EA and SLAVE EA to open BUY order with 0.2 lots at each new bar open and close on next one. When DecreaseRisk is received by SLAVE EA the lot should be 0.1 and same with MASTER
STATUS: <OK / STOPED>
StartBalance: $10,000
CurrentProfit: $799 (7.99%)
StopEA_At: 6%
RiskDecreased: YES/NO
CloseAllAtStop: YES/NO
(if the trailing did not start place the value for StopDailyonXPctLoss which should be as minus value e.a. -5%)
Parameters which I need
extern double StopDailyonXPctLoss = 5; extern bool AlertOnDailyStopLoss = true; extern double StartTrailingOnProfitPctGain = 5; extern double TrailingStopPct = 2; extern double DecreaseRiskAtPctGain = 8; extern double DecreaseRiskFactor = 0.5; extern bool CloseAllAtStopLoss = true; extern bool PushNotification = true; extern bool PopUpAlertNotification = true; extern bool EmailAlert = true;
Please Apply only if you agree with following:
1. I need source code of everything no 3rd party libraries.
2. You need to work fast. I need 1-2 coders who can help me with my load of work, so this is a long term relationship and this is more of a test.
3. Before starting the project send me a mql4 sample code what you did, it can be a part of any code you wrote, whatever you want, I need to see your coding style (send me at least 300+ lines of code) if I am able to understand what you wrote and how clean is your coding style
4. If you fail to deliver the project in time agreed I will not work anymore with you, it is important we respect each other time.
5. Good English communication and writing is a must.