Hi again,
I am using JFreeChart in a financial Trading System. The type of chart is a candlesticks chart and I feed the dataset with arrays of values (date,o,h,l,c,v).
For some of the involved days the Trading System produces a buy or sell signal.
I was wondering if it is possible to draw this signal with a marker above or bellow the candle of the specific day.
The signals can be stored as an additional Number array (1 for buy, 2 for sell, 3 for nothing).
However I dont know if this is achievable with JFreeChart and I have no previous experience with graphics in Java.
Could anyone help me on how to put such markers in the chart , please?
Is it possible ?
Thanks for any answer
George
Markers in charts...
Re: Markers in charts...
I think this should be possible using an OverlaidXYPlot. Also, I think this is probably the purpose of the SignalRenderer class which I have never used myself (it was contributed by another developer).
Take a look at the OverlaidXYPlotDemo to start with...
Regards,
DG.
Take a look at the OverlaidXYPlotDemo to start with...
Regards,
DG.