study(title="SWING BUY SELL", overlay=true)
lon = wma(close, 3)
long = wma(close, 5)
longe = wma(close,8)
longer = wma(close, 10)
longes = wma(close, 12)
longest = wma(close, 15)
sho = wma(close, 60)
shor = wma(close,50)
short = wma(close, 45)
shorte = wma(close, 40)
shorter = wma(close, 35)
shortest = wma(close, 30)
test = wma(close, 200)
test1 = wma(close, 100)
plot(lon, color = green, linewidth=1)
plot(long, color =green, linewidth=1)
plot(longe, color = green, linewidth=1)
plot(longer, color = green, linewidth=1)
plot(longes, color = green, linewidth=1)
plot(longest, color = green, linewidth=3)
plot(sho, color = red, linewidth=3)
plot(shor, color = red, linewidth=1)
plot(short, color = red, linewidth=1)
plot(shorte, color = red, linewidth=1)
plot(shorter, color = red, linewidth=1)
plot(shortest, color = blue, linewidth=3)
plot(test, color = black, linewidth=3)
plot(test1, color =#E0B0FF, linewidth=2)
////study(title ='BTC VIP wma CROSS Buy/Sell (GC & DC)', overlay=true)
wma1 = input(15, title="Select wma 1")
wma2 = input(30, title="Select wma 2")
expo = wma(close, wma1)
ma = wma(close, wma2)
avg_1 = avg(expo, ma)
s2 = cross(expo, ma) ? avg_1 : na
//plot(s2, style=plot.style_line, linewidth=3, color=color.red, transp=0)
p1 = plot(expo, color=#4CAF50, linewidth=3, transp=0)
p2 = plot(ma, color=#2196F3, linewidth=3, transp=0)
fill(p1, p2, color=#FFFFE0, transp=80)
*
*
lon = wma(close, 3)
long = wma(close, 5)
longe = wma(close,8)
longer = wma(close, 10)
longes = wma(close, 12)
longest = wma(close, 15)
sho = wma(close, 60)
shor = wma(close,50)
short = wma(close, 45)
shorte = wma(close, 40)
shorter = wma(close, 35)
shortest = wma(close, 30)
test = wma(close, 200)
test1 = wma(close, 100)
plot(lon, color = green, linewidth=1)
plot(long, color =green, linewidth=1)
plot(longe, color = green, linewidth=1)
plot(longer, color = green, linewidth=1)
plot(longes, color = green, linewidth=1)
plot(longest, color = green, linewidth=3)
plot(sho, color = red, linewidth=3)
plot(shor, color = red, linewidth=1)
plot(short, color = red, linewidth=1)
plot(shorte, color = red, linewidth=1)
plot(shorter, color = red, linewidth=1)
plot(shortest, color = blue, linewidth=3)
plot(test, color = black, linewidth=3)
plot(test1, color =#E0B0FF, linewidth=2)
////study(title ='BTC VIP wma CROSS Buy/Sell (GC & DC)', overlay=true)
wma1 = input(15, title="Select wma 1")
wma2 = input(30, title="Select wma 2")
expo = wma(close, wma1)
ma = wma(close, wma2)
avg_1 = avg(expo, ma)
s2 = cross(expo, ma) ? avg_1 : na
//plot(s2, style=plot.style_line, linewidth=3, color=color.red, transp=0)
p1 = plot(expo, color=#4CAF50, linewidth=3, transp=0)
p2 = plot(ma, color=#2196F3, linewidth=3, transp=0)
fill(p1, p2, color=#FFFFE0, transp=80)
*
*
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.
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.