Ni6HTH4wK

Buy Cloud [LAVA]

93
Just some EMA, WMA, SMA, VMA, RMA all together in a nice package. Remove the lines and just keep the gray area for a cleaner look.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?
study(title="Buy Cloud", shorttitle="b_cloud", overlay=true)
offs = input(24, minval=1, title="Offset")
len1 = input(42, minval=1, title="EMA/WMA Length")
len2 = input(42, minval=1, title="SMA/VMA Length")
len3 = input(42, minval=1, title="RMA Length")

src = hl2
outea = ema(src, len1)
outma = sma(src, len2)
outva = wma(src, len1)
outwa = vwma(src, len2)
outra = 2.3 * (ema(close, len3) - ema(outea, len3)) + ema(ema(outea, len3), len3)

p1 = plot(outea, title="EMA", color=teal, linewidth=1, offset=offs)
p2 = plot(outma, title="SMA", color=olive, linewidth=1, offset=offs)
p3 = plot(outva, title="VMA", color=purple, linewidth=1, offset=offs)
p4 = plot(outwa, title="VWMA", color=fuchsia, linewidth=1, offset=offs)
p5 = plot(outra, title="RMA", color=aqua, linewidth=1, offset=offs)

fill(p5,p3,color=white)
fill(p1,p4,color=white)
fill(p2,p3,color=white)