I was wondering if anyone here would be able to convert this indi, from tradingview.com into an mt4 indi. I asked the creator, unfortunately he does not do any mql.
Here is the source code:
study(title="[RS]Murrey's Math Lines Channel", shorttitle="[RS]MMLC", overlay=true)
length00 = input(100)
fmultiplier = input(defval=0.125, type=float)
hhi = highest(high, length00)
llo = lowest(low, length00)
fraction = (hhi - llo) * fmultiplier
midline = llo + fraction * 4
plot(midline, color=gray, linewidth=3)
plot(midline + fraction * 1, color=gray)
plot(midline + fraction * 2, color=gray)
p00 = plot(midline + fraction * 3, color=gray, linewidth=1)
p01 = plot(midline + fraction * 4, color=gray, linewidth=2)
plot(midline - fraction * 1, color=gray)
plot(midline - fraction * 2, color=gray)
p02 = plot(midline - fraction * 3, color=gray, linewidth=1)
p03 = plot(midline - fraction * 4, color=gray, linewidth=2)
fill(p00, p01, color=gray, transp=50)
fill(p02, p03, color=gray, transp=50)
Here is the source code:
study(title="[RS]Murrey's Math Lines Channel", shorttitle="[RS]MMLC", overlay=true)
length00 = input(100)
fmultiplier = input(defval=0.125, type=float)
hhi = highest(high, length00)
llo = lowest(low, length00)
fraction = (hhi - llo) * fmultiplier
midline = llo + fraction * 4
plot(midline, color=gray, linewidth=3)
plot(midline + fraction * 1, color=gray)
plot(midline + fraction * 2, color=gray)
p00 = plot(midline + fraction * 3, color=gray, linewidth=1)
p01 = plot(midline + fraction * 4, color=gray, linewidth=2)
plot(midline - fraction * 1, color=gray)
plot(midline - fraction * 2, color=gray)
p02 = plot(midline - fraction * 3, color=gray, linewidth=1)
p03 = plot(midline - fraction * 4, color=gray, linewidth=2)
fill(p00, p01, color=gray, transp=50)
fill(p02, p03, color=gray, transp=50)