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 codes

プロジェクト情報

予算
30+ USD