How to code ma inside another indicator

How can I code this?