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
發布通知: 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
發布通知: -code cleanup-

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?