Some questions in my mind...

Back to topics list To post a new topic, please log in or register
avatar
26
qgmql 2015.01.21 13: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.

avatar
2017
gooly 2015.01.21 15: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.

Back to topics list  

To add comments, please log in or register