Add a trailing stop to an existing EA to manage a basket of trades when they go in profit

MQL5 专家 脚本

工作已完成

执行时间15 小时
客户反馈
5 stars for a job well done. Intelligent programmer with great work ethics. Will surely post more jobs to Alex directly
员工反馈
An excellent client with non-trivial tasks. It's always a pleasure to work for professionals. Thank you, buddy.

指定

I have a working EA, that outputs "Buy" , "Sell" Signals for a symbol

I need to add to it, a script to open a "Buy" or "Sell" deal as per the Signal, with the following conditions

If the position is in profit (total profit => Minimum profit) set a trailing stop.

If total profit is => (Minimum profit + cost  of an additional ticket) set a Trailind stop  --and-- Open a new ticket

And this logic should continue till the max number of tickets (user input) is open.


The user should be able to have the following inputs:

  • Minimum profit in points/pips
  • Lot size
  • Stop loss
  • Maximum number of tickets to be open.

反馈

1
开发者 1
等级
(277)
项目
334
55%
仲裁
14
36% / 29%
逾期
1
0%
空闲
2
开发者 2
等级
(169)
项目
204
30%
仲裁
25
40% / 44%
逾期
12
6%
空闲
3
开发者 3
等级
(365)
项目
412
36%
仲裁
35
26% / 57%
逾期
63
15%
空闲
4
开发者 4
等级
(298)
项目
427
26%
仲裁
18
61% / 33%
逾期
26
6%
空闲
发布者: 8 代码
5
开发者 5
等级
(173)
项目
201
49%
仲裁
18
11% / 44%
逾期
1
0%
空闲
6
开发者 6
等级
(772)
项目
1039
44%
仲裁
50
8% / 50%
逾期
116
11%
空闲
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(26)
项目
29
3%
仲裁
11
9% / 73%
逾期
3
10%
空闲
发布者: 1 代码
9
开发者 9
等级
(361)
项目
644
26%
仲裁
92
72% / 14%
逾期
12
2%
工作中
发布者: 1 代码
10
开发者 10
等级
(626)
项目
733
34%
仲裁
48
52% / 40%
逾期
14
2%
已载入
11
开发者 11
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
12
开发者 12
等级
(24)
项目
27
33%
仲裁
2
100% / 0%
逾期
1
4%
空闲
13
开发者 13
等级
(8)
项目
7
0%
仲裁
7
0% / 71%
逾期
2
29%
空闲
14
开发者 14
等级
(170)
项目
203
47%
仲裁
5
20% / 60%
逾期
3
1%
空闲

项目信息

预算
30+ USD
截止日期
到 2 天