MESA - code anyone?

 
Has anyone tried to program the MESA Adaptive Moving Average indicator into MQL4?
From the white-paper it looks extremely complicated and I don't want to start from scratch if I don't have to.
Reason: