Merging of MovingAverage, ExpMovAverage, SmoothedMovAvgFunct

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Quant
Advanced
Posts: 142
Joined: Tue Dec 30, 2014 12:00 am

Merging of MovingAverage, ExpMovAverage, SmoothedMovAvgFunct

Post by Quant » Thu Jun 18, 2015 4:26 am

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.

Christopher
Guru
Posts: 1229
Joined: Fri Nov 15, 2002 12:00 am

Re: Merging of MovingAverage, ExpMovAverage, SmoothedMovAvgFunct

Post by Christopher » Thu Jun 18, 2015 12:02 pm

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply