I need to create an easy Metatrader EA to close all trades based on win percentage.
This is what the EA will do:
- EA will be dragged on a pair and will be checking trades open and balance all the tim
- EA will close all trades open if WIn -5 or Win $ is reached. That is, if I set Win% to 10% (default), once my account is 10 up based on the account balance available from the 1st of each month, the EA will close all trades and send an email to the default email set up in Metatrader. Same applies to WIN$, I can specify if I want to close all trades if $1000 profit is reached.
- AUTO TRADING button will be disabled once the target and all trades have been closed, so the EA I use for trading won't be able to open any more trades unless I modify the target again
- Monthly_target_%: 10. Default 10% target. If this target is reached, EA will close all trades and send email
- Monthly_target_$: If this target is reached, EA will close all trades and send email. We need to have a way to choose one or the other
- Monthly_drawdown: 5. If -5% is reached, Auto Trading will be disabled so no more trades can be taken
- SendEMailTarget: true/false, will send email if target is reached
- SendEMailDrawdown: true/false, will send email if maximum drawdown is reached
- EA will display a text panel that can be toggled on/off (true, false), this panel will display this text:
* Balance: account balance
* Trades open: 4
* Risk taken: %4 (risk taken based on the account balance), need to know how much risk)
* Win %: winning percentage of open trades.
* Win $: same as win-% but it will display money earned
This panel will update information based on the balance available from the 1st day of the month.
Example 1: if I start month 1 with 10.000, and I made 10%, EA will close all trades and send email. Same if I specify WIN$ instead. I should be able to select which way I want to do the calculation, % or $
Example 2: then second month I start Day1 with 11.000, I set EA to close all trades at 10% based on the balance I started the month with... once EA reaches 10% of 11.000 the EA will close all the trades and send email.
I want this EA to be coded in such a way that its functions can be incorporated in the EA I use for my trading, it has to have that in mind, object oriented programming. I want it to work by itself but coded in such a way that it can be merged as functions in my EA.
Bu iş için 9 freelancer ortalamada $151 teklif veriyor
Hello. My name is Peter. I'm professional IT engineer. I've been working on Forex for the last 7 years. I'm very well familiar with MT platform and MQL, can provide you with codes which were written by me. I read th Daha Fazla
Hi, I am expert in making EA and CI for MT4. Check out my website : [url removed, login to view] Here is also my link in odesk: [url removed, login to view]~~a3e6d449ed3957da You can also see my re Daha Fazla
Hi. I am very much used to coding self-contained classes that can be reused in multiple projects. I work currently with a few money managers and work professionally using only object oriented approach. It will be my p Daha Fazla
Excuse me I am not carefully read task. I dont know how to control "Experts enabled" button. I can only add CloseAll function in code, or write separate expert, which will send command to main expert and show him stop Daha Fazla
Hello My name's Arif, I am an experienced metatrader programmer, I have experience more than 10 years, I have created thousands of EAs and Indicators, trust me I can do it for you, if you have any question you can d Daha Fazla
Hello there, your idea is good and I think EA should also save some information in Excel file to keep the record of saved information. If we record the data in excel file then ea will not lost any information even Daha Fazla
Hi! I use MetaTrader for real trade. I use self writed riskmanager EA for this task now. Need info in Metatreder4 or Metatreder5 you need EA. I can send you my EA on zero day , and rewrite as you need in you descr Daha Fazla
I proggramer in Mql4 , Java , C# with 8 years experience . I also programm in Ninja Trader 7 & 8 languages . I develop a fast , clear , optimized , high quality and realible codes . I never compromise on speed Daha Fazla