Hi I'm trying to make a trading platform with java for a school project but I don't have no idea on how to create the candlestick bar chart and also the tecnical indicators I've searched thru the Internet but I can't find any good tutorial or info about it can someone help please.
Asked
Active
Viewed 1,043 times
1 Answers
1
Hmm, jfreechart comes to mind.. but i would probably export JSON from the Java app (API endpoint) and then access it with a nice charting library, like HighCharts or better HighStock (bower highslide-software/highstock-release
).

Jens A. Koch
- 39,862
- 13
- 113
- 141
-
HighStock is perfect but it's written in javascript my project have to be only – George Mar 21 '16 at 15:25
-
HighStock is perfect but it's written in javascript my project have to be only java and for jfreechart I can't find any good tutorial and it seem to be difficult to create a dynamic real-time chart, if can help or provide some code examples I've searched a lot but I only finded static candlestick charts in jfreechart – George Mar 21 '16 at 15:33
-
This could be of help: http://www.java2s.com/Code/Java/Chart/JFreeChartDynamicDataDemo.htm and also `DynamicTimeSeriesCollection`, e.g. http://stackoverflow.com/a/5048863/1163786 and http://www.jfree.org/jfreechart/api/javadoc/org/jfree/data/time/DynamicTimeSeriesCollection.html – Jens A. Koch Mar 21 '16 at 16:13