Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bricks/boxes instead of lines #35

Open
jjalonso opened this issue Nov 12, 2019 · 10 comments
Open

Bricks/boxes instead of lines #35

jjalonso opened this issue Nov 12, 2019 · 10 comments
Assignees
Labels

Comments

@jjalonso
Copy link

jjalonso commented Nov 12, 2019

Hello guys

Great project. This is not an issue is a question. I'm interested to use renko charts. Renko is a simple chart where if value increased on a specific amounts for example +20 it will create a upper box/brick and if after it it reduce to -20 the current value then it will show the brick/box down.

I wanted to know if there is a workaround to do it using this lib or if it could be easy to modify and some suggestions for me to do it. On other canvas based chart projects it can be done using range bars. Thanks.

Check the screenshot. And ignore the bars ar the bottom edge also ignore the lines/wicks coming out the bricks.
renko_example_gold_futures

@kroitor kroitor self-assigned this Nov 12, 2019
@kroitor
Copy link
Owner

kroitor commented Nov 12, 2019

@jjalonso hey) The idea to support candlestick charts and renko charts is great. If you can draw a sample of a black&white Renko chart below using the box-drawing characters and GitHub markdown – we can try to add the support for it. Colorizing the chart is not an issue, however, drawing a readable renko chart with bodies and tails can be tricky. I suggest that you post a sample (draw it by hand) below:

```

your chart drawn with box-characters here

```

@jjalonso
Copy link
Author

jjalonso commented Nov 13, 2019 via email

@jjalonso
Copy link
Author

Maybe? (wicks are optionals in some renko charts, im happy to not having them atleast)


                  ┏━┓
               ┏━┓┗━┛
┏━┓         ┏━┓┗━┛
┗━┛┏━┓   ┏━┓┗━┛
   ┗━┛┏━┓┗━┛
      ┗━┛

@jjalonso
Copy link
Author

jjalonso commented Nov 13, 2019

there is few geometrical chars too, but not sure if it can be used.

▩ ■

@kroitor
Copy link
Owner

kroitor commented Nov 13, 2019

@jjalonso it could also look like this:

█   █
 █ █ █             ╷    
  █   █    ╷       │ 
       █   █       █
        █ █ █     █ █
         █   █   █│
              █ █ 
               █

We will try to find combinations of symbols to draw it, and will add it, hopefully, soon. If you find a better-looking set of characters for Renko charts, let me know.

@jjalonso
Copy link
Author

jjalonso commented Nov 13, 2019

            ⬛      ⬛
          ⬛  ⬛  ⬛
⬛      ⬛      ⬛
  ⬛  ⬛        
    ⬛

hard to make wicks here

Also found this family interesting
https://jrgraphix.net/r/Unicode/2300-23FF

@jjalonso
Copy link
Author

2 boxes with wick

 ⎸
██

3 boxes with wick

            ███
        ███  │  ███
 │  ███      │   │  ███
███

@yukulele
Copy link

My suggestion (using ▁▂▃▄▅▆▇█ chars)

Screenshot_20221025_161603

@jjalonso
Copy link
Author

jjalonso commented Apr 8, 2023 via email

Repository owner deleted a comment from thiomajid Feb 20, 2024
@pannet1
Copy link

pannet1 commented Feb 22, 2024

unfortunately not seen any project plotting streaming data nicely like asciicharts. candlesticks and indicator plots were required.

Repository owner deleted a comment from uday7981 Feb 23, 2024
Repository owner deleted a comment from 19890843006 Feb 23, 2024
Repository owner deleted a comment from officialarmannqureshi Feb 26, 2024
Repository owner deleted a comment from tarunjainsagar Feb 26, 2024
@github-staff github-staff deleted a comment from jrhea Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants
@yukulele @jjalonso @kroitor @pannet1 and others