Page 1 of 1

Merging of MovingAverage, ExpMovAverage, SmoothedMovAvgFunct

Posted: Thu Jun 18, 2015 4:26 am
by 16071129
Dear Steema,
We found that In Financial functions of MovingAverage, ExpMovAverage, SmoothedMovAvgFunction, etc all are type of Moving Averages. Why not all Moving Averages under one function that is MovingAverage. it is already having Simple and weighted type.

Re: Merging of MovingAverage, ExpMovAverage, SmoothedMovAvgFunct

Posted: Thu Jun 18, 2015 12:02 pm
by Christopher
Quant wrote:We found that In Financial functions of MovingAverage, ExpMovAverage, SmoothedMovAvgFunction, etc all are type of Moving Averages. Why not all Moving Averages under one function that is MovingAverage. it is already having Simple and weighted type.
Technically it would be easy for you to derive your own function from the function class and call these other three classes from it. The TeeChart API was specifically designed to be modular so that custom classes could be derived from existing classes - if you need help in implementing an specific custom derivative, please just let us know.