Need an MT4 EA coding

MQL4 Experts Scripts

Trabalho concluído

Tempo de execução 23 horas
Comentário do cliente
Excellent service provided by Ashwin... he understood what i need exactly and provide the same with in 1 day.. great job
Comentário do desenvolvedor
Everything perfect, thanks!

Termos de Referência

https://www.mql5.com/en/code/10597

INPUTS:

  • useProfitToClose = true; - if it is true the EA will close trades when the profit is greater than defined profit to close;
  • profitToClose = 20; - the defined profit in account currency, when close trades;
  • useLossToClose =false; - if it is true the EA will close trades when the loss is greater than defined loss to close;
  • lossToClose =100; - the defined loss in account currency, when close trades;
  • AllSymbols =true; - if it is true the EA closes trades on all symbols, if false- only on current symbol where EA is attached;
  • PendingOrders =true; - if it is true the EA closes also pending orders, on all symbols or current symbol depends on AllSymbols setting;
  • MaxSlippage = 3; - maximal allowed slippage in pip;
  • showMenu = true; - if true, EA shows on graph information about open trades, lots and profit;
  • menuColor = Yellow; - color of menu text;
  • variablesColor = Red; - color of variables;
  • font = 10; - font size;

please see the “close at profit” at the above link..

I just need some modification and addition to this ea..

1.       this EA closes all the trades in my MT4 terminal when the profitToClose amount is reached or lossToClose is reached.. its like setting TP and SL but not to any chart or not to any pair but to the cumulative profit/loss of all the open trades.

2.       Now what I need is, I need some addition to this similar to a trailing stop..

3.       For example, when I set the ProfitToclose at 50$, all order in my account gets closed when 50$ profit is reached in my account. What I need is.. I don’t want the orders to be closed.. EA should close orders when the profit reduces from 50$ to 40$.. if not it should wait for increasing amount.. suppose when the profit goes to 60$, then the ea should close the orders when the amount comes back to 50$ and so on.. my explanation is not that clear I think.. but you can understand easily what I am looking for..

This is not a complicated coding I feel so I will give it to the lowest bidder and will pay through paypal only when I test the ea.. please tell me the time u need to complete the ea

 

 

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(69)
Projetos
76
59%
Arbitragem
0
Expirado
12
16%
Livre
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
(253)
Projetos
358
49%
Arbitragem
24
25% / 50%
Expirado
80
22%
Livre
3
Desenvolvedor 3
Classificação
(414)
Projetos
478
40%
Arbitragem
7
43% / 29%
Expirado
16
3%
Livre
4
Desenvolvedor 4
Classificação
(28)
Projetos
36
17%
Arbitragem
5
20% / 40%
Expirado
17
47%
Livre
Publicou: 5 códigos
5
Desenvolvedor 5
Classificação
(17)
Projetos
19
21%
Arbitragem
1
0% / 0%
Expirado
4
21%
Livre
6
Desenvolvedor 6
Classificação
(328)
Projetos
538
66%
Arbitragem
53
21% / 40%
Expirado
169
31%
Livre
Publicou: 1 código

Informações sobre o projeto

Orçamento
10 - 30 USD
Prazo
de 1 para 5 dias