Trabalho concluído
Termos de Referência
Hi,
Can somebody help me with a small EA:
The EA should be for MT4. Its going to be used with other EA and manual trades.
The function of the EA
Option to set a daily/weekly/monthly or NoTimeSet target, both Profit and Loss
Option to set Equity P/L and closed P/L in % or
amount
When target is reached all open trades should be closed and deactivate the trading functions for the all EA on the
account.
And option to use Trail Target before close all
It should also have a "manual CloseAll" option so I can set it to "true" i properties at any time to close all
Exampel1.
Setting:
Profit target +5%
Max DD -3%
Time: Week
if +2% closed profit and open trades reach +3% profit = total +5% => Close All trades and and deactivate the trading functions
Or
if +2% closed profit and open trades reach -5% DD = total -3% => Close All trades and and deactivate the trading functions
Exampel2. Trail Target
Setting:
TrailTargetBy 2%
Profit target +5% (at 5% trail by 2%, that is if it goes to 6% and back down to 4% CloseAll)
Max DD -3%
Time:
NoTimeLimit
if +2% closed profit and open trades reach +3% profit = total +5% => Start trail, if all trades close by other conditions and target is reached deactivate the trading functions
Or
if +2% closed profit and open trades reach -5% DD = total -3% => Close All trades and and deactivate the trading functions
Any suggestions on improvements is appreciated
Automatic placement date should be shown on chart, and the rest of the information in attached picture and example below
"\n-------------------------------------------------"+
"\nStart Balance : " + StartBalance +
"\nAccount Balance : " + AccountBalance() +
"\nStart Date : " + Year1 + "-" + Mounth1 + "-" + Day1 +
"\nAccount Equity : " + AccountEquity() +
"\nOpen PnL(€) : " + AccountProfit() + "€" +
"\nOpen PnL(%) : " + DoubleToString(OpenPnLProc,2) + "%" +
"\nAcumulated PnL(€) : " + AcumulatedPnLeur + "€" +
"\nAcumulated PnL(%) : " + DoubleToString(AcumulatedPnLproc,2) + "%" +
"\nMax Draw Down Percentage : -" + MaxDDPercentage + "%" +
"\nProfit Percentage Target : " + ProfitPercentageTarget + "%" );
If possible also news-filter option
If possible i would like to have the option to allow trades again after a certain time have gone
I also want to have the mq4-file in the delivery