Доработка индикатора MT4

MQL4 Indicators

Job finished

Execution time 4 days
Feedback from customer
Очень быстро и качественно.
Feedback from employee
Спасибо за заказ

Specification

Есть пользовательский индикатор, результатом работы которого является вывод стрелочек(наверх или вниз) на графиках. Необходимо добавить рядом со стрелочками вывод цен - 2 числовых значения:

- при убывающем тренде (стрелочка вниз) – вывести 2 значения над стрелочкой, одно над другим

- при возрастающем тренде (стрелочка вверх) – вывести 2 значения под стрелочкой,  одно под другим.


В индикаторе есть цикл

for(int x=limit-4; x>=0; x--)

и стрелочки выводятся как Buffer2[x]=Low[x]-d; Buffer1[x]=High[x]+d;

где x – текущий номер рассматриваемой свечи.

 

Исходя из этого рядом со стрелками надо вывести 2 такие цены:

1)  (High(x+1)+Low(x+1))/2.  – т.е. середина цены свечи, которая была перед стрелочкой

2)  Low(x+1)  - для стрелочки вниз, High(x+1) для стрелочки вверх


Files:

EX4
Day_23-04.ex4
12.6 Kb

Responded

1
Developer 1
Rating
(50)
Projects
94
29%
Arbitration
4
25% / 0%
Overdue
4
4%
Free
Published: 3 codes
2
Developer 2
Rating
(52)
Projects
81
35%
Arbitration
3
67% / 33%
Overdue
8
10%
Free
3
Developer 3
Rating
(267)
Projects
599
35%
Arbitration
64
20% / 58%
Overdue
147
25%
Working
Published: 1 article, 22 codes
4
Developer 4
Rating
(332)
Projects
485
40%
Arbitration
82
11% / 63%
Overdue
77
16%
Free
Published: 1 code
5
Developer 5
Rating
(198)
Projects
291
24%
Arbitration
6
17% / 33%
Overdue
4
1%
Free
6
Developer 6
Rating
(174)
Projects
233
61%
Arbitration
3
33% / 33%
Overdue
6
3%
Free
Published: 1 code
7
Developer 7
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
8
Developer 8
Rating
(499)
Projects
744
56%
Arbitration
48
31% / 31%
Overdue
120
16%
Free
Published: 1 code
9
Developer 9
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
10
Developer 10
Rating
(241)
Projects
387
51%
Arbitration
14
14% / 14%
Overdue
43
11%
Free
Published: 1 article, 1 code
11
Developer 11
Rating
(589)
Projects
1066
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Working
Published: 1 article, 8 codes
12
Developer 12
Rating
(157)
Projects
220
50%
Arbitration
2
50% / 0%
Overdue
14
6%
Free
13
Developer 13
Rating
(94)
Projects
162
40%
Arbitration
20
15% / 75%
Overdue
73
45%
Free
Published: 3 codes
14
Developer 14
Rating
(250)
Projects
460
26%
Arbitration
140
20% / 59%
Overdue
100
22%
Working
15
Developer 15
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes

Project information

Budget
30+ USD
Deadline
from 1 to 2 day(s)