what is period and shift mean in iMA

 

so, I place the MA on the 1H.

I put 8 for period and 2 for shift. what  exactly does it do?

 
shonick:

so, I place the MA on the 1H.

I put 8 for period and 2 for shift. what  exactly does it do?

shift or  ma_shift ?

 

iMA()  <-- read this it tells you what you want to know 

 
RaptorUK:

shift or  ma_shift ?

 

iMA()  <-- read this it tells you what you want to know 


I meant the shift, not ma_shift. Read it and I could not understand it before I posted here. 

So what is period and shift?

 
shonick:


I meant the shift, not ma_shift. Read it and I could not understand it before I posted here. 

So what is period and shift?


period  -  Averaging period for calculation.

 if you see a chart some currency one period of that chart is one candelbar

shift  -  Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).

 shift relative to the current bar the given amount of periods ago 

 current bar is the last bar on chart

shift  is periods ago  

AND THIS   can we call this   Explaining mql4 for Dummies ???  

 
shonick:


I meant the shift, not ma_shift. Read it and I could not understand it before I posted here. 

So what is period and shift?


If you don't know what shift and period are you need to read the Book
 
deVries:
period  -  Averaging period for calculation.

 if you see a chart some currency one period of that chart is one candelbar

shift  -  Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).

 shift relative to the current bar the given amount of periods ago 

 current bar is the last bar on chart

shift  is periods ago  

AND THIS   can we call this   Explaining mql4 for Dummies ???  


I believe you are talking about ma_shift, and not shift. Unless shift and ma_shift is the same.
 
RaptorUK:
If you don't know what shift and period are you need to read the Book


I read that whole book already. And more than that. But I think the language is not that clear .

 

But finally. I got it. shift is the index of the value that I want to get from the indicator buffer.

for simplicity and those looking for this 

2 for shift mean = buffer [2] 

Thanks 

 
shonick:

I believe you are talking about ma_shift, and not shift. Unless shift and ma_shift is the same.


wrong believe

You are proofing us reading words is your problem.....

 What did you think i was talking about " ma_shift " ???

the message you was replying to has nowhere inside that word 

My conclusion explaining mql4 to you IS same as    Explaining mql4 for Dummies

very hard to do  .....  for no matter who

Reason: