Indicator: Balance Of Power

9607 vizualizações
**** Code updated. Make sure you pick up the latest version posted (not the code in the published chart) ******

An oscillator that represents the battle between the bulls and the bears in the market.

BOP supports spotting price divergence, trends, and overbought-oversold levels.A change in the BOP trend serves as a warning signal and should be confirmed by a change in the price direction.

More info @

Updated the code to match ThinkOrSwim platform's indicator (request from user @mika2k1). v2 code here:

This allows you to plot only the EMA (instead of actual BOP). Sample image posted in the comments below.
Remover dos scripts favoritos Adicionar aos scripts favoritos
// @author LazyBear
// Balance Of Power - BOP
study(title = "Balance of Power [LazyBear]",shorttitle="BOP_LB")
PlotEMA=input(true, "Plot SMA?", type=bool)
PlotOuterLine=input(false, "Plot Outer line?", type=bool )
length=input(14, title="MA length")
BOP=(close - open) / (high - low)
b_color=(BOP>=0 ? (BOP>=BOP[1] ? green : orange) : (BOP>=BOP[1] ? orange : red))
plot(BOP, color=b_color, style=columns, linewidth=3)
plot(PlotOuterLine?BOP:na, color=gray, style=line, linewidth=2)
plot(PlotEMA?sma(BOP, length):na, color=navy, linewidth=2)
List of my free indicators:
List of my indicators at Appstore:


+2 Resposta
v2 sample on AAPL H4.
Início Rastreador de Fundamentos Rastreador Forex Rastreador de criptomoedas Calendário econômico Como Funciona Recursos gráficos Preços Indique um amigo Regras da Casa Central de Ajuda Soluções para sites e corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e cobrança Indique um amigo Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar