Coding help required

 

Hi all,

First post here after moving into Forex after trading stocks for a while.

In my software for the stock market I use an indicator that combines an MA and the ATR to draw a line to show my trailing stop loss.

It is quite simple but I have never attempted to code anything like the necessary code for MT4, Metastock is easy compared with MT sure has got me stumped !

What I would like to do is to create 2 lines on my chart based on an EMA(14) + and - (ATR(14) multiplied by 2.5).

It would be good if I could alter the numbers so that I can experiment on Forex to see if it has any merit.

Any help would be appreciated.

Thanks from downunder

Ozimacca

 

Hi,

Maybe this indicator help you.

For EMA : MAType = 1.

Igor

 

Thanks for that Igorad, I will experiment with that

Ozimacca