How can I add a sample MACD 2 Line Into Metatrader

 

Respected Sir/Madam,

I want the 2 line MACD to be the Indicator for Meta Trader 4/5.

When I compile the Meta Trader it gives Errors.

How can I compile a MACD 2 line indicator which is attached?

What is the method to use the Attached Indicator

 
Ritu Verma: When I compile the Meta Trader it gives Errors.

It compiles just fine on MT4