ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Can we Show data for specific date range
Posted by Subodh Joshi on Dec-02-2010 20:44
Hello Mr. Peter,In Technical chart u have any method by which we can show chart for specific time period like for specific date range (21-10-2010)-(13-11-2010)

thanks

  Re: Can we Show data for specific date range
Posted by Peter Kwan on Dec-03-2010 02:43
Hi Subodh,

Yes. Please simply pass the data for the date range you want to plot to ChartDirector. It will then plot a chart in that date range.

For some technical charts, you may want to pass more data than in the visible date range, because some technical indicators require lead data (that is, to plot the first point, it may need data before the first point). For example, the RSI indicator requires 14 points lead data. So if you want to plot RSI for the date range A to B, please pass the data from (A - 14 trading sessions) to B to ChartDirector, and then set the extraPoints parameter to 14 when you call setData. (I assume you are using FinanceChart to plot the technical charts).

If you are not sure how many lead points are necessary for your technical indicator, you may simply use a large value (say 50) to ensure there is sufficient lead points for most technical indicators.

Hope this can help.

Regards
Peter Kwan