Hello, Second mail... (first one disapear on the net) So will be shorter, sorry.
Like Rakesh suggest it, this thread can be used to merge : Re: [amibroker] Jurik Moving Average JMA RE: [amibroker-ts] Re: Moving Average... one more again : ) In the previous long lost mail i was classify smoothing technics so we can start from here. Will be shorter. Smoothing technics : - Parametric - Non parametric In non-parametric : - Moving Average : linear or not linear - Local Fit smoothing technics - Spectral denoising technics In parametric : - Linear Fitting : poly, trig, or any function - Non linear fitting : neural networks I someone know other technics list is expandable / modiable, it is done for that : ) The interrest of each : - parametric : can be used to have a mathematic model and so predict future data or use model parameters to compute some calcul (include Kalman, Weiner filtering, regressive model like ARMA, GARCH, ...) - non parametric : more easy to compute if we just need smoothing to denoise Now, in non-parmaetric interrest of each : - moving average : we know well here linear is MA for exemple. non linear is all the adaptive filters for exemple. - Spectral denoising technics : transforme the data in frequency domain where we keep only dominant frequency and go back in time domain the result. Include FFT method (problem with short data series), parametric DSP method (ok with short data series), Wavelet method (seems the more powerfull method available now, but very technic/difficult to code). - Local Fit smoothing technics: fit locally a curve. Good if we aren't interrested by parameters but just by smoothing the data and keep some feature of them. Now feel free to start discussion from here based on previous classification wich can (and must i think) be revised. I will begin with Local Fit smoothing technics. It includes : Savitzky-Golay filter, Spline smoothing, binomial smoothing (=gauss smoothing ?). Does someone try this and how does it performs compared to Moving Average class ? B-Spline are spline smoothing ? Savitzky-Golay filter is in Nume. Recipes. Someone try this ? I think spline is longer to compute than S-G filter wich only need to compute coefficients one time. Binomial smoothing is like local poly fit but with a first order poly ? Those class of linear fit filter is used to keep accuracy of amplitudes and pattern width. Those features are often destroy during a Moving Average process. Can be used to clean a spectrum for exemple, before determining main frequency by peak amplitudes. Or can be used for a trif fit so we denoise the data, but keep good amplitudes and cycle periods without destroy them with MA. Any comment/code/experience in trading/link/etc... would be nice. Thanks ! In my first post i was included many links to explain this, but now you have to use our loved Google : ) Would be nice to speak from parametric technics to, and especially Kalman (it is in this class of smoothing technic ?). Cheers, Mich ----- Original Message ----- I am aware that this forum is dedicated to solving problems realted to usage of AB and not discussing trading methods or philosophies. Instead of seeking out some magic moving average formula, I will humbly submit that maybe it will be more instructive if this thread moves to the AB-TS forum and focus is shifted a wee bit to effective usage of movng averages. Best Regards R
