Hi. My series have only single-valued data points, i.e. the Close price. The Financial Indicators (Bollinger, MACD, etc.) all have a set of standard financial member paths inherited from Infragistics.Controls.Charts.FinancialSeries, namely OpenMemberPath, CloseMemberPath, HighMemberPath, LowMemberPath, and VolumeMemberPath.
Obviously I can add duplicate accessors on my collection items to simulate the existence of these values, but I can find nothing in the docs to indicate how such data might be interpretted, and experimentation has yielded inconsistent results.
Do you have recommendations for usage of Financial Indicators for single-valued series?
Many thanks
HtD
Do I need to provide handlers for Typical and TypicalBasedOn? I am experimenting here but I get NullReferenceExceptions because FastItemsSource has not been set in the underlying code.
Any help appreciated
Each indicator will tell you in the api remarks which member paths it expects to be populated: http://help.infragistics.com/NetAdvantage/DV/2011.2/CLR4.0/?page=InfragisticsSL4.Controls.Charts.XamDataChart.v11.2~Infragistics.Controls.Charts.MovingAverageConvergenceDivergenceIndicator.html
In general, this is driven by how the indicator is typically calculated. Some of them don't necessarily make a lot of sense if you have only a single value.
You only need to provide handlers for Typical and TypicalBasedOn if you are using an indicator that depends on the Typical Price and you also want to customize how typical price is obtained.
If you want to completely customize the calculation you can use CustomIndicator.
This post shows how that can be done, in general: http://community.infragistics.com/forums/p/48149/257201.aspx#257201
The based on handlers are for letting the chart know which columns the calculation is based on, so that it knows under which circumstances the calculation needs to be refreshed.
-Graham