10 #ifndef MOVINGAVERAGE_H_ 11 #define MOVINGAVERAGE_H_ 13 #include <wx/xy/xydataset.h> 14 #include <wx/ohlc/ohlcdataset.h> 35 virtual size_t GetCount(
size_t serie);
37 virtual double GetX(
size_t index,
size_t serie);
39 virtual double GetY(
size_t index,
size_t serie);
virtual size_t GetSerieCount()=0
Returns serie count in this dataset.
virtual double GetX(size_t index, size_t serie)=0
Returns x value at index.
virtual double GetY(size_t index, size_t serie)=0
Returns y value at index.
Open-High-Low-Close datasets base class.
virtual size_t GetCount(size_t serie)=0
Returns value count in serie specified by index.
void DatasetChanged()
Called to indicate, that dataset is changed.
Base class for all datasets (XYDatasets, XYZDatasets, CategoryDatasets, OHLCDatasets, etc).
Base class for XY datasets.
Simple moving average indicator.
virtual wxString GetSerieName(size_t serie)=0
Returns serie name.