Need help to develop a simple indicator.

 

Hi,

I'm a newbie in programming MQL4, I'm just trying to create an indicator-oscillator to draw the % difference between moving average and price.

Could someone give me the code for that:


SMA = Simple moving average


Indicator= (SMA / Close)*100

 

My time frame will be 1w, 1d, 4h or 1h for 89 or shorter periods.


Thanks in advance for your help.

 
look at CCI.mq4
 
wow,got to say,these techniques are so cool,but I have no idea of how to DIY the software.
 
chie1979:
but I have no idea of how to DIY the software. 

then you are left with no choice but to use a freelancer

 
chie1979: I have no idea of how to DIY the software.
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC ) and the nature of your problem.
 

This indicator already exist, maybe it's the detrented in %

https://www.mql5.com/en/code/8387