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

Feature Request: Add additional lines for custom indicators #10

Open
NLKNguyen opened this issue Nov 25, 2021 · 2 comments
Open

Feature Request: Add additional lines for custom indicators #10

NLKNguyen opened this issue Nov 25, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@NLKNguyen
Copy link

Hi,

Thanks for the amazing work. Is there any plan to support additional lines to the chart for custom indicators?
That would open doors to various kinds of technical analysis visualization.

For example, horizon/vertical lines, or arbitrary time-series data such as Moving Average. I imagine the data can be embedded in the JSON data stream along with the current OHLC fields.

@Julien-R44
Copy link
Owner

Julien-R44 commented Nov 25, 2021

Hey, thanks you !

I am afraid that this is not possible. Since the graphic is drawn using unicode characters, it is not possible to draw other characters on top of the candles.
The only solution I see would be to display the technical indicators below the chart a bit like for the volumes but I think that would lose a lot of its interest for some indicators, especially for moving average.

Maybe we could try to draw this behind the candles but I'm really not sure of the result. I'll do a test in the next days/weeks
If you have a better suggestion let me know !

@Julien-R44 Julien-R44 added the enhancement New feature or request label Nov 25, 2021
@NLKNguyen
Copy link
Author

NLKNguyen commented Dec 11, 2021

Did you have a chance to try drawing behind the candles? I think that is a good compromise to have the candles always on top.
I see that Unicode braille characters are commonly used to represent line plots. Some references I found:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants