amcharts5
amcharts5 copied to clipboard
Stock Charts Custom Indicators Legend Creation
I've been playing around with the new stock charts and I've liked it a lot so far. In the application, I have been working on I have created a lot of custom indicators that I want to implement in the new stock charts. I can get them to plot how I want them to be plotted however what I have noticed is that the pre built indicators have these really cool custom legends where it shows the name and then the current values for each series in the panel e.g.
Then when you click the setting button on the indicator you can customize the colors of all the other series in the panel as the below photo depicts
I essentially want to be able to create this legend that groups the series in the panel and displays the values just how the above MACD indicator you guys provide does.
Do you guys plan on eventually allowing a way for users to create their own custom indicators and or allowing them to customize legends and how they are displayed as the pre-built indicators demonstrate?
Note that I asked a similar question in https://github.com/amcharts/amcharts5/issues/325 however I decided to open this question because of the new functionality that legends can offer and provide in the new stock charts is far more advance then any other legends in Amcharts
Thank you for this issue.
It's all doable right now, but warrants a proper tutorial. Give us a week or so to whip it up :)
Awesome thanks. Just an idea, in the tutorial, it would also be appreciated if you added documentation for creating event listeners for when an input/color/ on save event happens in the legend input settings so users could create custom events based on these input changes as I am sure a lot of users will be using there own custom indicators that will be able to respond to user input.
Any updates on this?
Sorry for the wait.
We now have a custom indicator tutorial ready: https://www.amcharts.com/docs/v5/tutorials/creating-custom-indicators-for-a-stock-chart/
It also deals with legend and settings dialog.
Hope you find it useful.