Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. study(title="SimpleVol(PipF)", shorttitle="SimpleVol(PipF)", precision=0)
  2.  
  3. showMA = input(true)
  4. SecInput = input(defval="FX_IDC:EURUSD", title="Security Volume", type=symbol, confirm=true)
  5. VolSrc = security(SecInput, period, volume, false)
  6. plot(VolSrc, color = open > close ? red : green, style=columns, title="Volume MA", transp=65)
  7. plot(showMA ? sma(VolSrc,20) : na, style=area, color=blue, title="Volume", transp=85)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement