TradingView
imanenter
Jul 19, 2018 7:18 PM

Volume ENTER 

Bitcoin / United States DollarCoinbase

Description

volume+Bollinger Bands+ Ma9+MA20
ENTER
Comments
jaybiswas
Sir give me access
imanenter
@jaybiswas, hi it looks I must have a premium plan to give access.
imanenter
@imanenter, study("Volume ENTER", shorttitle="Volter")
src = close
obv(src) =>
obv = cum(change(src) > 0 ? volume : change(src) < 0 ? -volume : 0*volume)
o=obv(src)
plot(o, title="OBV", color=yellow, linewidth=1)
plot(ema(o, 9),title="MA9", color=red,transp=20, title="OBV")
plot(ema(o, 20),title="MA20", color=silver,transp=40, title="OBV")
//
BBperiod=input(20,minval=1,title="Bollinger Bands period")
BBpar=input(2,minval=0.1,type=float,title="Bolliger Bands parameter")
dev=stdev(o,BBperiod)
cband=sma(o,BBperiod)
uband=cband+BBpar*dev
lband=cband-BBpar*dev
upb=plot(uband,"Upper Band",color=#00FFFF,transp=30,linewidth=1)
lowb=plot(lband,"Lower Band",color=#00FFFF,transp=30,linewidth=1)
fill(upb,lowb,color=#DCDCDC,transp=95)
imanenter
@imanenter, so i commented code here u go
More