Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- study(title="SimpleVol(PipF)", shorttitle="SimpleVol(PipF)", precision=0)
- showMA = input(true)
- SecInput = input(defval="FX_IDC:EURUSD", title="Security Volume", type=symbol, confirm=true)
- VolSrc = security(SecInput, period, volume, false)
- plot(VolSrc, color = open > close ? red : green, style=columns, title="Volume MA", transp=65)
- plot(showMA ? sma(VolSrc,20) : na, style=area, color=blue, title="Volume", transp=85)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement