peacefulLizard50262

Bear Bull Ratio (BBR)

This indicator calculates the ratio of bearish to bullish candles over a certain window of time. It does this by keeping track of the number or distance (depending on the "Enable True Range Mode" input) between the high and low prices of bullish and bearish candles, respectively, and then dividing the total distance of bullish candles by the sum of the distances of both bullish and bearish candles. The resulting ratio is then plotted on the chart as a percentage. The indicator also plots a smoothed version of the ratio using a weighted moving average and the average of the ratio over the entire length of the chart, for both the "True Range Mode" and "Normal Mode".
Notas de Lançamento:
typo fix

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?