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 |