Download MetaTrader 5
To add comments, please log in or register
The Market has more than 400 indicators. Try any of them!
qgmql
131
qgmql 2015.01.21 12:58 

1st: whats actually different in...

iMA(NULL,0,13,0,MODE_SMA,PRICE_CLOSE,0)
iMA(NULL,0,13,0,MODE_SMA,PRICE_CLOSE,1)
iMA(NULL,0,13,0,MODE_SMA,PRICE_CLOSE,-1)
iMA(NULL,0,13,0,MODE_SMA,PRICE_CLOSE,i)
iMA(NULL,0,13,0,MODE_SMA,PRICE_CLOSE,i+1)
iMA(NULL,0,13,0,MODE_SMA,PRICE_CLOSE,i-1)

  

2nd: If i have a chart saved in CSV file and i want to do the below thing manually in that CSV file by using excel formulas, how to do this?...

iMA(NULL,0,13,10,MODE_SMA,PRICE_CLOSE,i+1)
//---
iMA(NULL,0,13,-10,MODE_SMA,PRICE_CLOSE,i+1)

 

3rd: There are two types of simple calculations,

2 + 2 * 2 = 6   Scientific calculation.

2 + 2 * 2 = 8   Standard calculation.

Now for example. There are two Oscillators. Demarker (ranges between 0 to 1) and RSI (ranges between 0 to 100) and I want to do like;

Multiply Demarker by 100, then add RSI and after that, divide the value by 2 e.g; ((Dem*100)+(RSI))/2

I am confused in how to do things like this in mql.

Carl Schreiber
5939
Carl Schreiber 2015.01.21 14:58  

add 1st is answered in the Book/Documentations/Reference (editor).

add 2nd this is not the forum for Excel-functions

add 3rd a) a) try it yourself b) use brackets if you are not sure.

/
To add comments, please log in or register