Convert Tradingview indicator Pine Script to MQL4 indicator

MQL4 Indicateurs Convertir

Tâche terminée

Temps d'exécution 5 heures
Commentaires du client
Very fast delivery. And a very fine job done
Commentaires de l'employé
Clear specification, very nice working experience

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(26)
Projets
23
39%
Arbitrage
26
8% / 38%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(132)
Projets
178
39%
Arbitrage
4
25% / 50%
En retard
14
8%
Gratuit
3
Développeur 3
Évaluation
(322)
Projets
499
67%
Arbitrage
5
40% / 0%
En retard
4
1%
Gratuit
Publié : 8 codes

Informations sur le projet

Budget
30+ USD