TradingView
agbay
28 Sep 2023 pukul 09.50

Trendy Bars Counter 

Deskripsi

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

Catatan Rilis

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

Catatan Rilis

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
Komentar
shaneaus
Hi! Thanks for the script! I modified it just a slight amount (not your calculations - just so I could alter the symbol and height above/below the bars). And, I was wondering could you explain how I could modify it so that it would count small doji candles? Or, even it you could just make that alteration with a comment on what you did - I could then play with it. I respect your time and don't want to be a leach!
agbay
@shaneaus, Hi! Algorithm code is open source You can alter it freely as You wish.
Lebih lanjut