HammondB3

B3 Clear Method Streak Count

About Clear Method-- to repeat my prior post on the bar painter script:
This indicator is translated out of Technical Analysis of Stocks & Commodities , September 2010, (I take zero design credit). The script simply looks for the price action to break or "clear" the most recent action, and only changes the paintbar color if the action indeed clears the previous candles. Simple to use, just add to your chart from your favorites and change the colors in the UI . It does the rest.

This version can replace my previous Clear Method Bar Painter as it also paints the bars.
What is different is this share is a lower study that counts the streak of the bars shown via histogram.
The way to use the streak is to notice the previous streaks and get a sense of how long the current trend is lasting versus prior trends of the same direction.

@Tradestation recently posted their "price streak" study, and this one is quite similar in nature.

Enjoy, the code open to view,
_B3
d^.^b
Notes de version: VERSION 4 PINESCRIPT UPDATE:
  • Added lines to the Long and Short side of zero that represent either the median, average, or extreme of an array depending on user inputs
  • Colors are now customizable in first UI page
  • Fading effect added to the colors
  • Now an area graph instead of histogram
  • *Barcolor does not fade
  • Added zero line

Enjoy!
d^.^b
Notes de version: -code cleanup-

Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?