team172011 / TAcharting

A charing application to download, plott and analyse securities, indicators, strategies and trading records
Other
62 stars 18 forks source link

Drop jFreechart usage and use javascript for plotting #17

Open team172011 opened 6 years ago

sky54521 commented 6 years ago

What's going on now ?

team172011 commented 6 years ago

Hi, thanks for your interest in this project. So far I have paused this project, searching for a way to store/save complete templates and a solid logic to apply indicators on other indicators

team172011 commented 6 years ago

You can find an approach in the d3 branch where I am using d3 for plotting

sky54521 commented 6 years ago

How do I find the right model if I use the d3?

sky54521 commented 6 years ago

could you give me an example to transform ta4j's data model into d3's data model? I hope I can better monitor ta4j's data, so I want to show ta4j's data model through the chart

team172011 commented 6 years ago

I have written my own charting logic to visualize candlestick, indicators and labels in javascript with help of d3. You find it in this file: https://github.com/team172011/TAcharting/blob/d3/src/main/resources/html/printTests.html

In this class https://github.com/team172011/TAcharting/blob/d3/src/main/java/org/sjwimmer/tacharting/chart/view/TaChart2.java you can find how indicators can be added via JSON format