RagingRocketBull

Bars In a Row Counter Pro by RRB

Bars In a Row Counter Pro by RagingRocketBull 2018
Version 1.0

This indicator counts bars of the same color in a sequence (dojis included) and plots the resulting counts as histogram bars

1. based on barssince, uses plot function with histogram style
2. Min/Max Threshold is the upper and lower limits for counting bars. For example, you can look only for sequences of 5 to 10 bars of the same color in a row
3. Show Histogram Beyond Threshold - you can hide/change color of the non-important histogram part that exceeds the threshold
4. Show Threshold Bands - show the upper and lower limits as levels on the indicator
5. Show Min/Max Bands - show ATH max red/green bars in a row historic levels on the indicator
6. Count Red Bars - count red bars in a sequence, show/hide red bars on a histogram (you can exclude red bars and count only green bars)
7. Count Green Bars - count green bars in a sequence, show/hide green bars on a histogram (you can exclude green bars and count only red bars)
8. Invert Red Bars - show red and green histograms together on the same axis above zero (saves space)


Feel free to use. Good Luck!
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?