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 codes
4
開発者 4
評価
(361)
プロジェクト
644
26%
仲裁
92
72% / 14%
期限切れ
12
2%
仕事中
パブリッシュした人: 1 code
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