Download MetaTrader 5
To add comments, please log in or register
You sell neither signals nor apps? No problem, everyone can make profit!
aycan
9
aycan 2014.08.30 15:39 

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.

ffoorr
984
ffoorr 2014.08.30 17:01  
look at CCI.mq4
Alex
21
Alex 2014.09.02 11:49  
wow,got to say,these techniques are so cool,but I have no idea of how to DIY the software.
qjol
3243
qjol 2014.09.02 12:58  
chie1979:
but I have no idea of how to DIY the software. 

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

whroeder1
13610
whroeder1 2014.09.02 14:27  
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.
ffoorr
984
ffoorr 2014.09.02 18:08  

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

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

/
To add comments, please log in or register