İş tamamlandı
Tamamlanma süresi: 21 saat
İş Gereklilikleri
i need to convert a TradingView (PineScript) indicator to MQL4
name of the indicator is "Donchian Trend Ribbon"
the source code will be below.
visuals are important. so make sure the developed indicator will have the visuals
all ordinal input should be represented.
General conditions
write clear and well commented code.
delivery should be within 2 days.
deliveries are the indicator ex4 and the developed source code mq4.
the pine source code:
//@version=4
study("Donchian Trend Ribbon", precision = 0)
dlen = input(defval = 20, title = "Donchian Channel Period", minval = 10)
dchannel(len)=>
float hh = highest(len)
float ll = lowest(len)
int trend = 0
trend := close > hh[1] ? 1 : close < ll[1] ? -1 : nz(trend[1])
dchannelalt(len, maintrend)=>
float hh = highest(len)
float ll = lowest(len)
int trend = 0
trend := close > hh[1] ? 1 : close < ll[1] ? -1 : nz(trend[1])
maintrend == 1 ? trend == 1 ? #00FF00ff : #00FF009f :
maintrend == -1 ? trend == -1 ? #FF0000ff : #FF00009f :
na
maintrend = dchannel(dlen)
plot( 5, color = dchannelalt(dlen - 0, maintrend), style = plot.style_columns, histbase= 0)
plot(10, color = dchannelalt(dlen - 1, maintrend), style = plot.style_columns, histbase= 5)
plot(15, color = dchannelalt(dlen - 2, maintrend), style = plot.style_columns, histbase=10)
plot(20, color = dchannelalt(dlen - 3, maintrend), style = plot.style_columns, histbase=15)
plot(25, color = dchannelalt(dlen - 4, maintrend), style = plot.style_columns, histbase=20)
plot(30, color = dchannelalt(dlen - 5, maintrend), style = plot.style_columns, histbase=25)
plot(35, color = dchannelalt(dlen - 6, maintrend), style = plot.style_columns, histbase=30)
plot(40, color = dchannelalt(dlen - 7, maintrend), style = plot.style_columns, histbase=35)
plot(45, color = dchannelalt(dlen - 8, maintrend), style = plot.style_columns, histbase=40)
plot(50, color = dchannelalt(dlen - 9, maintrend), style = plot.style_columns, histbase=45)
//end
Yanıtlandı
1
Derecelendirme
Projeler
985
46%
Arabuluculuk
33
36%
/
36%
Süresi dolmuş
98
10%
Çalışıyor
Yayınlandı: 6 kod
2
Derecelendirme
Projeler
364
32%
Arabuluculuk
34
41%
/
29%
Süresi dolmuş
108
30%
Serbest
Yayınlandı: 1 kod
3
Derecelendirme
Projeler
597
35%
Arabuluculuk
64
20%
/
58%
Süresi dolmuş
147
25%
Serbest
Yayınlandı: 1 makale, 22 kod
4
Derecelendirme
Projeler
640
33%
Arabuluculuk
41
41%
/
46%
Süresi dolmuş
11
2%
Yüklendi
5
Derecelendirme
Projeler
20
10%
Arabuluculuk
8
38%
/
38%
Süresi dolmuş
3
15%
Çalışıyor
6
Derecelendirme
Projeler
243
74%
Arabuluculuk
7
100%
/
0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 1 makale
7
Derecelendirme
Projeler
1
0%
Arabuluculuk
1
0%
/
0%
Süresi dolmuş
0
Serbest
8
Derecelendirme
Projeler
3362
68%
Arabuluculuk
77
48%
/
14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
9
Derecelendirme
Projeler
460
26%
Arabuluculuk
140
20%
/
59%
Süresi dolmuş
100
22%
Çalışıyor
10
Derecelendirme
Projeler
4
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Proje bilgisi
Bütçe
37+ USD
Son teslim tarihi
to 2 gün