New answers tagged moving-average
As it was already mentioned. Try to read about Kalman filter and Markow Switching models. I have even seen some academic papers where authors tried to define MA length based on MSM or KF. Try to google it ...
Top 50 recent answers are included