PipFoundry

Pip Foundry - Simple OBV

My premium indicators are available for monthly lease at www.tradingview.com/...arket/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.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?
//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")