kxmp

Volume weighted Balance of Power

118 1 13
It's a simple indication.
I multiplied the output of bop with volume , make it more smoother.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Balance of Power")
length=input(defval=14,minval=1,type=integer)
siglen=input(defval=9,minval=1,type=integer)
vw=input(type=bool,defval=true,title="Volume Weighted")
bp=vw==true ? (close - open) / (high - low)*volume : (close - open) / (high - low)
bop=sma(bp,length)
sig=sma(bop,siglen)
plot(bop)
plot(sig,color=green)
hline(0)
coondawg71 PRO
8 months ago
good tool! change the moving average on lines 6 and 7 to WMA and you will see the divergences a little earlier.
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener 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