OPEN-SOURCE SCRIPT

Trendy Bars Counter

Updated
Trendy Bars Counter indicates the number of bars in trend.

Green: If trend is up
Red: If trend is down
Gray: If there is no trend
Minimum Number Of Trendy Bars: if trendy bars count is greater than this value trendy bars count will be plotted
Release Notes
Trendy Bars Counter indicates the number of bars in trend.
Meaning of the color of the numbers plotted on graph is:
Green: If trend is up
Red: If trend is down

Minimum Number Of Trendy Bars: if trendy bars count is greater than this value trendy bars count will be plotted

Meaning of plotted chars:
Numbers: sequential number of bars in trend
^: Sequential number of bars in trend are bigger than 10 and trend is positive
v: Sequential number of bars in trend are bigger than 10 and trend is negative
Release Notes
Trendy Bars Counter indicates the number of bars in trend.
Meaning of the color of the numbers plotted on graph is:
Green: If trend is up
Red: If trend is down

Minimum Number Of Trendy Bars: if trendy bars count is greater than this value trendy bars count will be plotted

Meaning of plotted chars:
Numbers: sequential number of bars in trend
^: Sequential number of bars in trend are bigger than 10 and trend is positive
v: Sequential number of bars in trend are bigger than 10 and trend is negative
Candlestick analysistrendpattern

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer