Need an MT4 EA coding

MQL4 专家 脚本

工作已完成

执行时间23 小时
客户反馈
Excellent service provided by Ashwin... he understood what i need exactly and provide the same with in 1 day.. great job
员工反馈
Everything perfect, thanks!

指定

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

 

 

附加的文件:

反馈

1
开发者 1
等级
(69)
项目
76
59%
仲裁
0
逾期
12
16%
空闲
发布者: 2 代码
2
开发者 2
等级
(253)
项目
358
49%
仲裁
24
25% / 50%
逾期
80
22%
空闲
3
开发者 3
等级
(414)
项目
478
40%
仲裁
7
43% / 29%
逾期
16
3%
空闲
4
开发者 4
等级
(28)
项目
36
17%
仲裁
5
20% / 40%
逾期
17
47%
空闲
发布者: 5 代码
5
开发者 5
等级
(17)
项目
19
21%
仲裁
1
0% / 0%
逾期
4
21%
空闲
6
开发者 6
等级
(330)
项目
540
66%
仲裁
53
21% / 40%
逾期
169
31%
空闲
发布者: 1 代码

项目信息

预算
10 - 30 USD
截止日期
 1  5 天