Hi,

New to programming MT4 and'm struggling on the announcing my factors.

What I want to do is get an external input for two simple moving averages, then compare them to one another, if I receive a long sign, I want an up arrow and when a brief sognal a down arrow (of course).

When I go to compile, I get an error I have not defined the the MA's correctly. My syntax is messed up or it could be within my IF statement as an example for my fast moving average = F_MA and I have a announcement (F_MA(2) lt; F_MA(1)). . .what I am attempting to do there, is when the speedy ma of two bars past is significantly less than the last speedy ma pub ect...I could be totally off there also...

I have been searching for different indiors I can check out and see what I am doing wrong and'm not seeing anything as simple as what I want to do. . .any thoughts or instructions would be appreciated.