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!
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?