OPEN-SOURCE SCRIPT

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-
arrayb3barcolorCandlestick AnalysisclearmethodcountkissstreakTIMEtrendTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明