Convert Tradingview indicator Pine Script to MQL4 indicator

MQL4 指标 转化中

工作已完成

执行时间5 小时
客户反馈
Very fast delivery. And a very fine job done
员工反馈
Clear specification, very nice working experience

指定

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

反馈

1
开发者 1
等级
(26)
项目
23
39%
仲裁
26
8% / 38%
逾期
0
空闲
2
开发者 2
等级
(132)
项目
178
39%
仲裁
4
25% / 50%
逾期
14
8%
空闲
3
开发者 3
等级
(322)
项目
499
67%
仲裁
5
40% / 0%
逾期
4
1%
空闲
发布者: 8 代码

项目信息

预算
30+ USD