PipFoundry

Pip Foundry - Simple OBV

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

On request from SunnyBTC for trading Forex pairs that do not themselves have any volume indication.

The concept: A simple OBV that will display the volume of a security other than what you are charting.

Edit: This script has been updated.
Remove from Favorite Scripts Add to Favorite Scripts
//Pip Foundry - Simple OBV
study(title="Pip Foundry - Simple OBV", shorttitle="Pip Foundry - Simple OBV")
SecInput = input(defval="FX_IDC:EURUSD", title="Security Volume", type=symbol, confirm=true)
VolSrc = security(SecInput, period, volume, false)
src = security(SecInput, period, close, false)
obv = cum(change(src) > 0 ? VolSrc : change(src) < 0 ? -VolSrc : 0*VolSrc)
plot(obv, color=blue, title="OBV")
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out