Splitting 1,0

MQL4 专家 外汇

指定

Description EA:

Basic principle.

1. The EA always sets buy and sell at the same time, the losing trade is doubled, the winning trade is replaced by a smaller position.If the trade is lost again after doubling, it is divided by two and half buy and half sell will be opened. If it is won, the other side is split. Then the losing trade is doubled again and the winning trade is replaced by a smaller position (e.g. half of the doubled trade).

Sequence:

Opening trades buy and sell same position size Loser is doubled / opposite position 1/2 lot size Splitting Example: The EA starts with 0.01 lot, sets sell and buy at the same time. After 5 pip, both trades will be closed at the same time. The losing trade is doubled (0.02), at the same time a 0.01 is opened again on the opposite side. If the 0.02 is lost, a cumulative 0.03 is lost (previous trade 0.01). 0.03 is now split again, results in 0.015 = 0.02 (rounded up). So again half buy and sell are set (each 0.02) The losing trade is doubled (0.04), at the same time a 0.02 is opened on the opposite side. If the 0.04 is now lost, a cumulative 0.06 is lost (previous trade 0.02). 0.06 is now split again, results in 0.03. So again 0.03 is set as buy and sell. The losing trade is doubled again (0.06), on the opposite side a 0.03 is opened If the 0.06 is lost, a cumulative 0.09 is lost (previous trade 0.03), this is split into 0.05 buy and sell. However, if the 0.03 is lost, it is split into 0.02 buy and sell .... so it goes on, sometimes the buy trade is lost, sometimes the sell trade. The loss side is always doubled ...

Important:

The loss is saved in the global variables, due to the spread, slippage etc. the doubled trade must run further than the original 5 pip TP.

Settings:

Lot size: 0.01 (standard)

Slippage 1 pip (standard)

Virtual TP: 5 pip (standard)

Opposite position to doubled losing trade: 1/2 of the loser (standard)

Opposite position to the doubled losing trade starts again at 0.01 from lot size x.xx 0.12 (standard)

Type of breakeven for duplicated trades: breakeven TP

Close all trades and start again at xxx loss 100.00 in base currency (standard)

附加的文件:

PNG
111111.png
130.4 Kb

反馈

1
开发者 1
等级
(163)
项目
258
61%
仲裁
4
50% / 25%
逾期
10
4%
空闲
2
开发者 2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(361)
项目
644
26%
仲裁
92
72% / 14%
逾期
12
2%
工作中
发布者: 1 代码
4
开发者 4
等级
(2337)
项目
2940
63%
仲裁
124
44% / 26%
逾期
429
15%
工作中
5
开发者 5
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
6
开发者 6
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
7
开发者 7
等级
(1125)
项目
1813
61%
仲裁
14
64% / 7%
逾期
84
5%
空闲
8
开发者 8
等级
(45)
项目
91
13%
仲裁
34
26% / 59%
逾期
37
41%
空闲
9
开发者 9
等级
(4)
项目
5
0%
仲裁
5
0% / 80%
逾期
2
40%
空闲

项目信息

预算
100 - 250 USD
截止日期
 1  3 天