Bitcoin Forum
May 25, 2024, 01:12:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Looking for a tool that allow me to count Candles in a chart  (Read 154 times)
bitmover (OP)
Legendary
*
Online Online

Activity: 2310
Merit: 5962


bitcoindata.science


View Profile WWW
September 22, 2019, 04:08:57 PM
 #1

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

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
exstasie
Legendary
*
Offline Offline

Activity: 1806
Merit: 1521


View Profile
September 22, 2019, 05:23:01 PM
 #2

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.

Theb
Hero Member
*****
Offline Offline

Activity: 1680
Merit: 655


View Profile
September 22, 2019, 05:44:03 PM
 #3

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.

..bustadice..         ▄▄████████████▄▄
     ▄▄████████▀▀▀▀████████▄▄
   ▄███████████    ███████████▄
  █████    ████▄▄▄▄████    █████
 ██████    ████████▀▀██    ██████
██████████████████   █████████████
█████████████████▌  ▐█████████████
███    ██████████   ███████    ███
███    ████████▀   ▐███████    ███
██████████████      ██████████████
██████████████      ██████████████
 ██████████████▄▄▄▄██████████████
  ▀████████████████████████████▀
                     ▄▄███████▄▄
                  ▄███████████████▄
   ███████████  ▄████▀▀       ▀▀████▄
               ████▀      ██     ▀████
 ███████████  ████        ██       ████
             ████         ██        ████
███████████  ████     ▄▄▄▄██        ████
             ████     ▀▀▀▀▀▀        ████
 ███████████  ████                 ████
               ████▄             ▄████
   ███████████  ▀████▄▄       ▄▄████▀
                  ▀███████████████▀
                     ▀▀███████▀▀
           ▄██▄
           ████
            ██
            ▀▀
 ▄██████████████████████▄
██████▀▀██████████▀▀██████
█████    ████████    █████
█████▄  ▄████████▄  ▄█████
██████████████████████████
██████████████████████████
    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
       ████████████
......Play......
bitmover (OP)
Legendary
*
Online Online

Activity: 2310
Merit: 5962


bitcoindata.science


View Profile WWW
September 22, 2019, 06:50:10 PM
 #4

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
bitmover (OP)
Legendary
*
Online Online

Activity: 2310
Merit: 5962


bitcoindata.science


View Profile WWW
September 30, 2019, 05:23:09 PM
 #5

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
fudster
Sr. Member
****
Offline Offline

Activity: 1190
Merit: 255


View Profile
September 30, 2019, 05:38:07 PM
 #6

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!