Hp filter in 4.2 version

I have a quick question.
4.2 version says that the HP filter works for empirical moments now.
Which dynare code do I need to have HP filtered empirical mements?
Thank you for your help!

You have to activate HP filter (with “hp_filter” option) and empirical moments (with “periods” option) of the “stoch_simul” command.

Thanks a lot!!!
I really appreciate it!!!