Automatic alerts

MQL4 脚本 其它

指定

Background

It is much clear to look at the attached file.

I’m using Metatrader 4 build 735.

I have 3 different trade accounts; each trading account is displayed in a different Metatrade4 session. It means that there are 3 open MT4 runs on my local PC and each exe display one trade account.

The Robots I use are:

In the 1st account: 4 robots as follow - Robot All-in-one Long for EURUSD, Robot All-in-one Short for EURUSD, Robot All-in-one Long for GBPUSD, Robot All-in-one Short for GBP

In the 2st account: 2 robots as follow - Robot All-in-one Both for EURUSD, Robot All-in-one Both for GBP 

In the 3rd account: same as in 2nd account.

for clear detailes please look at the attached file.

I'm asking for 2 short script:

Task 1 - which update the list of Alerts in the MT4 every user define period of time.

this task has 3 parameters

1.     User defines: "period of time" in minutes.

2.     User defines: "gap" in “Value” in pips.

3.     User defines: "taking the Swap in account" is yes or no, take the Swap or not take it in consideration when the script calculates the value in order to have a real positive profit.

Note that the updated list of alerts should cover all open orders and should run separately on each MT4 on my local PC.

This list of Alerts will be updated every given time, external parameter by the user..

The updated Alert list shall follow the user define parameters.

The preferred name for this script is generator_alerts 

 

Task 2 - which calculate the Average TP for some orders opened by the robot and the new SL.

Task 2 is different task, different script, 

Task 2 should run independently of task 1.

script 2 has these user define parameters:


1.     User defines: "SWAP" yes or no.

2.     User defines: "Temporary TP" 

3.     User defines: required profit for each number (1,2,3,4,,,,10) of open orders/

The preferred name for this script is generator_average 

 

附加的文件:

反馈

1
开发者 1
等级
(647)
项目
1295
67%
仲裁
84
26% / 49%
逾期
338
26%
空闲
2
开发者 2
等级
(88)
项目
143
39%
仲裁
21
19% / 48%
逾期
30
21%
空闲
3
开发者 3
等级
(34)
项目
80
34%
仲裁
13
31% / 54%
逾期
19
24%
空闲
4
开发者 4
等级
(30)
项目
93
49%
仲裁
18
56% / 17%
逾期
38
41%
空闲
5
开发者 5
等级
项目
0
0%
仲裁
2
0% / 100%
逾期
0
空闲
6
开发者 6
等级
(59)
项目
182
55%
仲裁
31
45% / 16%
逾期
103
57%
空闲
7
开发者 7
等级
(64)
项目
144
46%
仲裁
19
42% / 16%
逾期
32
22%
空闲
8
开发者 8
等级
(1)
项目
0
0%
仲裁
1
0% / 100%
逾期
0
空闲

项目信息

预算
50 - 75 USD
截止日期
 1  2 天