kxmp

Volume weighted Balance of Power

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)
good tool! change the moving average on lines 6 and 7 to WMA and you will see the divergences a little earlier.
Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out