Draw line of chart and collect information

MQL4 指标 脚本

工作已完成

执行时间40 分钟
客户反馈
Work with him on several occasions. He is very helpful and willing to help even after the job is closed.

指定

Hello guys,

I need your help on 2 separate scripts:

 

1.     On a plain chart, I have color vertical line. I want to collect time and date for each vertical line (bar 0) and 3 bar prior to it (bar -1,-2.-3)

The output file in scv should be:

Bar 0_date        Bar0_time         Bar0_Color_code                    bar -1               bar -2 bar-3

 

There are 6 colors of the vertical line and I should be able to assign code (in output file) for each color.

 

---------------------

2.     I have a scv file the following setting:

Date                     Time                              Long_Short        Color

2012.05.06         12:00                                 1                      2

.....

..... 

 Long_short has 2 possible value: 1/0 (1 Long and 0 short)

Color have value: 1,2,3,4,5,6

 

I want to draw a vertical line on charts for each time and date.

I should be able to choose whether line draw for only a supset of the data based on Long_short and color. For example, draw only Long (code 1) and color code 2. 

I should be able to assign color to each value.

 

That's all.

Thank you,

 HHC 

反馈

1
开发者 1
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
2
开发者 2
等级
(187)
项目
367
56%
仲裁
45
22% / 56%
逾期
188
51%
空闲
发布者: 1 文章, 6 代码
3
开发者 3
等级
(15)
项目
65
58%
仲裁
6
17% / 33%
逾期
39
60%
空闲
4
开发者 4
等级
(564)
项目
844
73%
仲裁
15
53% / 13%
逾期
193
23%
空闲
5
开发者 5
等级
项目
0
0%
仲裁
0
逾期
0
空闲
6
开发者 6
等级
(72)
项目
254
53%
仲裁
17
47% / 41%
逾期
83
33%
工作中
7
开发者 7
等级
(9)
项目
16
19%
仲裁
1
0% / 100%
逾期
5
31%
空闲
8
开发者 8
等级
(26)
项目
45
29%
仲裁
2
0% / 50%
逾期
21
47%
空闲
9
开发者 9
等级
(500)
项目
966
74%
仲裁
27
19% / 67%
逾期
100
10%
已载入
发布者: 1 文章, 6 代码
10
开发者 10
等级
(63)
项目
80
28%
仲裁
17
12% / 76%
逾期
48
60%
空闲
11
开发者 11
等级
项目
0
0%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
13
开发者 13
等级
(47)
项目
140
49%
仲裁
9
56% / 0%
逾期
27
19%
空闲
14
开发者 14
等级
项目
0
0%
仲裁
0
逾期
0
空闲
15
开发者 15
等级
(1235)
项目
2820
80%
仲裁
156
22% / 43%
逾期
487
17%
空闲
16
开发者 16
等级
项目
0
0%
仲裁
0
逾期
0
空闲
17
开发者 17
等级
项目
0
0%
仲裁
0
逾期
0
空闲

项目信息

预算