Example Needed

 

Hello to all,

I'm just starting to learn MQL programming. I feel that with some examples I will learn it faster.

Now what I would like to do is to paint the SMA with Two colors.

IF MA15 < MA15 - 1 then Green,

IF MA15 > MA15 - 1 then Red,

Any one have this indicator please posts it here for me to download any take a look to it.

Any help will be appreciated