HammondB3

B3 Clear Method Streak Count

HammondB3 已更新   
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?