Search found 1 match

by Sid
Thu Jan 15, 2009 4:00 pm
Forum: JFreeChart - Stockmarket
Topic: Moving Averages - where am I going wrong?
Replies: 1
Views: 6783

Moving Averages - where am I going wrong?

Hi - I have added a moving average to a chart with some sample ohlc data but I can't understand the MA graph. I am using: ohlcChart = ChartFactory.createCandlestickChart(null, null, null, ohlcData, false); XYDataset dataset2 = MovingAverage.createMovingAverage( ohlcData, "-MAVG", 2, 1); //2 period M...