The Jurik smoothing includes 3 stages:
1st stage - preliminary smoothing by adaptive EMA:
MA1 = (1-alpha)*Price + alpha*MA1[1];
2nd stage - one more preliminary smoothing by Kalman filter:
Det0 = (Price - MA1)*(1-beta) + beta*Det0[1];
MA2 = MA1 + PR*Det0;
3rd stage - final smoothing by...