Convert Tradingview indicator Pine Script to MQL4 indicator

MQL4 Göstergeler Dönüştürme

İş tamamlandı

Tamamlanma süresi: 5 saat
Müşteri tarafından geri bildirim
Very fast delivery. And a very fine job done
Geliştirici tarafından geri bildirim
Clear specification, very nice working experience

Şartname

Hi,


I need to get  tradingview script converted to an mql4 indicator.


The script is this


//@version=4
//  RSI WMA EMA
//  Hilega-Milega System

study(title="HM system", overlay=false)
src = input(close, type=input.source, title="Source")

len = input(9, minval=1, title="RSI")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))

wmaLength = input(21, title="WMA")
emaLength = input(3, title="EMA")

wma = wma(rsi, wmaLength)
ema = ema(rsi, emaLength)

plot(rsi, color=color.black, linewidth=1, title="RSI", transp=0)
plot(wma, color=color.red, linewidth=2, title="WMA", transp=0)
plot(ema, color=color.green, linewidth=1, title="EMA")

hline = hline(50, color=#b2b5be, linestyle=hline.style_dashed, title="Middle")
ref = plot(50, editable=true, title="50 Line")
obsd = plot(rsi>50? rsi : 50, transp=100, editable=false, title="oversold", display=display.none)
obbt = plot(rsi>50? 50 : rsi, transp=100, editable=false, title="overbought", display=display.none)
fill(obsd,ref, color=color.red, transp=90, title="Oversold")
fill(obbt,ref, color=color.blue, transp=90, title="Overbought")


It must work exactley as the original script

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(26)
Projeler
23
39%
Arabuluculuk
26
8% / 38%
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(132)
Projeler
178
39%
Arabuluculuk
4
25% / 50%
Süresi dolmuş
14
8%
Serbest
3
Geliştirici 3
Derecelendirme
(322)
Projeler
499
67%
Arabuluculuk
5
40% / 0%
Süresi dolmuş
4
1%
Serbest
Yayınlandı: 8 kod

Proje bilgisi

Bütçe
30+ USD