A Trade Copier to Convert Hedge Trades to Non-Hedge Trades

MQL4 专家 转化中

工作已完成

执行时间5 天
客户反馈
Very professional and skilled.

指定

I need a trade copier to copy trades from one account with hedged trades, to another account with no hedge capability. The lot sizes are ignored, and only the number of BUY or SELL trades are considered. Only EURUSD is traded.


Examples:


Master Slave

0 trades 0 trades
Open BUY 1 BUY 1 BUY
Open SELL 1 BUY, 1 SELL 0 trades
Close BUY 1 SELL 1 SELL
Close SELL 0 trades 0 trades



Open BUY 1 BUY 1 BUY
 Open SELL  1 BUY, 1 SELL  0 trades
 Open SELL  1 BUY, 2 SELL  1 SELL
Close SELL 1 BUY, 1 SELL 0 trades
 Close SELL  1 BUY  1 BUY
 Close BUY  0 trades  0 trades


From the table above, there are situations when closing a BUY in the master will result in opening a SELL in the slave. Conversely, opening a BUY could result in closing a SELL. BUY can be treated as +, and SELL as -. As long as they balance out, it is correct.

The relative lot size between the master and slave is irrelevant, since I use the same fixed lots for master and slave.


Additional settings I need:

- Filter only master trades with a specific lot size to be copied.

反馈

1
开发者 1
等级
(390)
项目
416
30%
仲裁
74
19% / 72%
逾期
52
13%
工作中
2
开发者 2
等级
(59)
项目
90
39%
仲裁
26
4% / 77%
逾期
40
44%
空闲
3
开发者 3
等级
(58)
项目
76
33%
仲裁
9
78% / 11%
逾期
7
9%
空闲
发布者: 2 代码
4
开发者 4
等级
(361)
项目
644
26%
仲裁
92
72% / 14%
逾期
12
2%
工作中
发布者: 1 代码
5
开发者 5
等级
(1235)
项目
2820
80%
仲裁
156
22% / 43%
逾期
487
17%
空闲
6
开发者 6
等级
(8)
项目
10
40%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(64)
项目
144
46%
仲裁
19
42% / 16%
逾期
32
22%
空闲

项目信息

预算
100+ USD