village trader
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © villagetraderbro

//@version=4
study (title="village trader", shorttitle="VT", overlay=true)

src = close
EMA7 = ema(src, 6)
SMA7 = sma(src, 50)
EMA21 = ema(src, 14)
SMA21 = sma(src, 100)
EMA50 = ema(src, 26)
SMA50 = sma(src, 200)


plot( EMA7, color=color.green, style=plot.style_line, title="7EMA", linewidth=1)
plot( SMA7, color=color.yellow, style=plot.style_line, title="7SMA", linewidth=2)
plot( EMA21, color=color.blue, style=plot.style_line, title="21EMA", linewidth=1)
plot( SMA21, color=color.orange, style=plot.style_line, title="21SMA", linewidth=2)
plot( EMA50, color=color.red, style=plot.style_line, title="50EMA", linewidth=1)
plot( SMA50, color=color.black, style=plot.style_line, title="50SMA", linewidth=2)