Простой индикатор

MQL4 Indicators

Specification

Требуется создать очень простой индикатор с пролонгацией.

Примерная схема работы:
- загружаются данные последних 360 свечей. Оперируем данными Open(1) ... Open(360), Close(1) ... Close(360).
- по алгоритму: Delta(n)=(Open(n)-Close(n)+Open(n+120)-Close(n+120)+Open(n+240)-Close(n+240))/3,
где    n-номер    свечи    в последовательности (от 1 до 120), находится средний прирост за свечу. Всего 120 шт.

- рисуются линии (свечи) экстраполяции по алгоритму:
Open(1)=Close Last (Close(n=360)

Close(1)=Open(1)+ Delta(n=1)

...

Open(i)=Close(i-1)

Close(i)=Open(i)+ Delta(i)

...

Open(120)=Close(n=119)

Close(120)=Open(120)+ Delta(n=120)

все.


Responded

1
Developer 1
Rating
(281)
Projects
650
28%
Arbitration
112
19% / 62%
Overdue
318
49%
Free
2
Developer 2
Rating
(25)
Projects
45
78%
Arbitration
1
0% / 100%
Overdue
2
4%
Free
3
Developer 3
Rating
(106)
Projects
189
46%
Arbitration
34
24% / 41%
Overdue
58
31%
Free
Published: 12 codes
4
Developer 4
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
5
Developer 5
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
1
50%
Free
Published: 1 code
6
Developer 6
Rating
(2)
Projects
3
0%
Arbitration
4
25% / 75%
Overdue
0
Free
Published: 1 code
7
Developer 7
Rating
(13)
Projects
30
53%
Arbitration
1
0% / 0%
Overdue
3
10%
Free
8
Developer 8
Rating
(73)
Projects
257
53%
Arbitration
16
50% / 38%
Overdue
83
32%
Free
9
Developer 9
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
10
Developer 10
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
Published: 1 code
11
Developer 11
Rating
(13)
Projects
34
76%
Arbitration
1
100% / 0%
Overdue
6
18%
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 359 articles, 1 code
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(31)
Projects
41
66%
Arbitration
1
100% / 0%
Overdue
11
27%
Free
16
Developer 16
Rating
Projects
5
40%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(1)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
1
25%
Free
Published: 6 codes

Project information

Budget
10 - 20 USD
Deadline
from 1 to 3 day(s)