Money management function

MQL5 脚本

工作已完成

执行时间1 一天

指定

Hi I'm looking for someone to code a money management function for my MT5 EA.

For money management. What i want is.

if  5 of last the 5 closed positions results are losses than the next position size is 1 lot

if 4 of last the 5  closed positions results are losses and 1 of them is profit than next position size is 2 lots

if 3 of last 5 closed positions losses and 2 of them profits then  size of next position is 3 lots 

if 2 of last 5 closed positions losses and 3 of them profits then size of next position isis 4 lots 

if 1 of last 5 closed position is a loss and 4 of them profits then size of next position is 5 lots

if 5 of last 5 closed positions resulted in profits then  than size of next position is 6 lots

反馈

1
开发者 1
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
2
开发者 2
等级
(617)
项目
1427
59%
仲裁
31
81% / 0%
逾期
10
1%
空闲
3
开发者 3
等级
(34)
项目
80
34%
仲裁
13
31% / 54%
逾期
19
24%
空闲
4
开发者 4
等级
项目
0
0%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(516)
项目
784
63%
仲裁
33
27% / 45%
逾期
23
3%
空闲
发布者: 1 代码

项目信息

预算
13- USD
截止日期
 2 天