Author

Topic: Looking for a tool that allow me to count Candles in a chart (Read 154 times)

sr. member
Activity: 1190
Merit: 255
I found a solution

This guy made this script, which allows you to count candles.
https://www.tradingview.com/script/unuUZi2L-counting-candles-v2/

Just need to configure it to choose how many candles back should it count. Just set it to max and it did what I wanted.

You took time to look for the solution. Would you be sharing the hypothesis and conclusions you have seen so far after this experiment of yours? 

I know times have changed since 2012, I don't trade much but would like to know ideas you got on its results. I can only see more green because of the BTC price but may also vary to the length from opening to close.
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
I found a solution

This guy made this script, which allows you to count candles.
https://www.tradingview.com/script/unuUZi2L-counting-candles-v2/

Just need to configure it to choose how many candles back should it count. Just set it to max and it did what I wanted.
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
Do you code at all? If you can understand Pine script logic then this could be done for free as an indicator in Tradingview. It should be fairly simple......similar to On Balance Volume minus the volume, with a lookback period applied.

THank you, I will take a look at it. But I though there was a ready to use app already. I don't know if I can trust my coding skills lol


Even if we look out for patterns you won't have one just by counting the number of green and red candles in a chart, I just don't see an importance of the number really.

As I said before, I have zero interest in trading. This is not for trading.

I am reading Nassim Taleb, and he is talking about probability, randomness, stuff like that.
I would like to make some experiments, like comparing how will bitcoin perform if you look charts once a year. Or once a month. Or  once day. Or  once minute.

I will illustrate as Taleb did on the book.
If you look at SP500 charts every January 1st, it will be green 90% of the time for the last 20 years (something close to that).
However, if you look once a month, it will be green only 67% of the time. If you do that to the point of one second, it will be nearly 50-50%.

I want to make some work on that data, on bitcoin.
hero member
Activity: 1680
Merit: 655
Even if there is one I just don't see any significance it will give as an indicator for trading. So what if for the past 5 to 6 years there are more green candles then red ones does it symbolize an asset's bullishness or bearishness in the present? It would be totally irrelevant since the aspects and conditions now will have changed from that point on, it doesn't factor out anything like how moving averages and the rsi is what doing as an indicator now on previous performance of that asset. Even if we look out for patterns you won't have one just by counting the number of green and red candles in a chart, I just don't see an importance of the number really.
legendary
Activity: 1806
Merit: 1521
Do you code at all? If you can understand Pine script logic then this could be done for free as an indicator in Tradingview. It should be fairly simple......similar to On Balance Volume minus the volume, with a lookback period applied.
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
Hello

I don't do trading or TA. I was thinking about a different approach, and I would like to be able to count how many green and red candles are there in a period of time

For example, if I look at a graphic  BTC/USD since 2012 with 1 month candles. I would like to be able to automatically count how many are green and how many are red. Also with different periods with 1 day candles and so on.

Is there any free tool available that will allow me to do this?

Thanks
Jump to: