Formula required, please advise...

 

I am trying to put my MT4 system into my website.

I require the forumula for MT4 IMA() array moving average types called...

MODE_SMMA - Smoothed moving average

MODE_LWMA - Linear weighted moving average.

Please advise..thx

 
icm63:

I am trying to put my MT4 system into my website.

I require the forumula for MT4 IMA() array moving average types called...

MODE_SMMA - Smoothed moving average

MODE_LWMA - Linear weighted moving average.

Please advise..thx

Hi icm

If you look at the code for the moving average indicator that comes with MT4 (Moving Averages.mq4), you should be able to work out the formulae you need.

Jellybean