Horizontal Line indicator - Custom

MQL4 Göstergeler Komut dosyaları

İş tamamlandı

Tamamlanma süresi: 2 gün

Şartname

Requiring a custom indicator that paints a horizontal line for every candle close(in any timeframe) - have the option to show/hide in different timeframe for the lines drawn by the custom indicator!

 Requirement:

Upon candle close:

 - calculate that candle's [HIGH-LOW]/2 === VALUE X

 - calculate the range of [CLOSE-OPEN OR OPEN-CLOSE] depending on long/short candle ===== RANGE Y

IF(For that candle that just closed)

 VALUE X is within(OR equals) RANGE Y, then DRAW Horizontal Line with VALUE = X (make sure there is option for color selection for the line)

 ELSE

Do not draw that line.

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

 More complex criteria to add to the above:

there must be a validation check on existing horizontal lines drawn to "delete" itself IF the value of such lines falls within RANGE Y of new candle closed.

The existing line drawn can still stay if stays outside the range of RANGE Y, and create a "spike" on support/resistance

 

 

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(636)
Projeler
1006
47%
Arabuluculuk
33
36% / 36%
Süresi dolmuş
99
10%
Çalışıyor
Yayınlandı: 6 kod
2
Geliştirici 2
Derecelendirme
(107)
Projeler
149
36%
Arabuluculuk
29
3% / 55%
Süresi dolmuş
35
23%
Serbest
3
Geliştirici 3
Derecelendirme
(103)
Projeler
205
41%
Arabuluculuk
17
29% / 71%
Süresi dolmuş
45
22%
Serbest
4
Geliştirici 4
Derecelendirme
(1156)
Projeler
1462
63%
Arabuluculuk
21
57% / 10%
Süresi dolmuş
43
3%
Serbest
5
Geliştirici 5
Derecelendirme
(772)
Projeler
1039
44%
Arabuluculuk
50
8% / 50%
Süresi dolmuş
116
11%
Serbest
6
Geliştirici 6
Derecelendirme
(312)
Projeler
521
47%
Arabuluculuk
30
10% / 47%
Süresi dolmuş
139
27%
Serbest
7
Geliştirici 7
Derecelendirme
(807)
Projeler
1127
43%
Arabuluculuk
47
49% / 23%
Süresi dolmuş
84
7%
Serbest
8
Geliştirici 8
Derecelendirme
(41)
Projeler
72
8%
Arabuluculuk
18
11% / 56%
Süresi dolmuş
18
25%
Serbest
9
Geliştirici 9
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
1
100%
Serbest

Proje bilgisi

Bütçe
10 - 30 USD
Son teslim tarihi
from 1 to 7 gün