PipFoundry

Pip Foundry - Simple Volume

My premium indicators are available for monthly lease at www.tradingview.com/...arket/ah-pipfoundry/

Requested by user SunnyBTC for use in the Forex market on the EURUSD pair.

This simple indicator will allow you to view the volume of a security other than the one you are currently charting.

Edit: This script has since been updated. Please see related link at bottom.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?
study(title="Pip Foundry - Simple Volume", shorttitle="Pip Foundry - Simple Volume", 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)