Trading Manager

MQL4 专家 积分

指定


 Hi,
I need the following Trade manager EA.

 1. Delete Pending orders every "x" minutes.

2.  Delete pending orders of any currency pair if the distance is less than 5 pips
Example there is a EURUSD Buy limit at 1.23456 .
Again another Buy limit order is there at 1.23486 . Since the distance is less than 5 pips between these orders delete the order that has a later timestamp


Check timing allowed .
If open trades are still there ignore timing.
If not delete all Pending orders, and turn off auto trading.
Once timing allowed is true, then turn on "Autotrading" and continue as normal.

Hence parameters are like this.

Delete Pending orders every = "x" minutes
Delete Pending orders for distance check= True/ Flase
Delete if distance allowed is less than =

Timing Check= True False
Times allowed = 01:10 - 10:20
time allowed= 12:30-16:30
time allowed= 18:30- 20:30
TIme allowed= 21:00-22:15

Correlation Close
Manage by Trade Comment= True/ False
(If False it Manages all )
Tradecomment=
Close in Profit= True/False
Maximum Profit Positions to close =2
Pips to Gain after closing = 10
( The above parameters will close 2 profit positions and close off the highest losing one if total gained pips= 10 )

Close in Loss= True/False
Maximum single loss position to close =150
Maximum Profit positions to close =2
( Here if a pair reaches -150 pips in loss, it closes off with 2 maximum profit positions regardless of the pips )

VERY VERY IMPORTANT>
In Live trading , broker may refuse to close the negative position. Hence EA should ensure that only after the negative is closed, the positive pairs  be closed.
Otherwise positives will be closed and negative will be orphaned . This is VERY IMPORTANT. If negative cannot be close it should continue retrying till it is closed, and then closing off the positive pairs.

EA should work in one chart only.
FInal payment will be released only after EA.. is checked in live trading to ensure it is working as specified.

My skype id
:chrisjose3

反馈

1
开发者 1
等级
(14)
项目
15
60%
仲裁
2
0% / 100%
逾期
5
33%
空闲
2
开发者 2
等级
(7)
项目
15
47%
仲裁
6
33% / 17%
逾期
4
27%
空闲
3
开发者 3
等级
(130)
项目
210
40%
仲裁
90
20% / 43%
逾期
85
40%
空闲
4
开发者 4
等级
(187)
项目
367
56%
仲裁
45
22% / 56%
逾期
188
51%
空闲
发布者: 1 文章, 6 代码
5
开发者 5
等级
(69)
项目
76
59%
仲裁
0
逾期
12
16%
空闲
发布者: 2 代码
6
开发者 6
等级
(121)
项目
134
66%
仲裁
36
25% / 56%
逾期
22
16%
空闲
发布者: 10 代码
7
开发者 7
等级
(29)
项目
49
22%
仲裁
14
29% / 21%
逾期
13
27%
空闲
8
开发者 8
等级
(89)
项目
137
24%
仲裁
35
9% / 40%
逾期
52
38%
空闲
9
开发者 9
等级
(1)
项目
1
0%
仲裁
1
0% / 100%
逾期
0
空闲

项目信息

预算
50- USD
截止日期
 3 天