Understanding Moving averages parameters

 

Hi everyone,

I'm having trouble getting my head around the difference between  Ma shift and applied price.

Can someone explain it to me ?

Thanks

 

Stewart 

 

applied price determines which price from each bar is to be averaged, the highs, the lows the opens etc

MaShift is used to move the resulting moving average line. You would usually set that to zero.

 

SDC:

You would usually set that to zero.


not so fast ;-)

there are plenty trading methods based on shifting the results like ichimoku or alligator...

 
Yes there are some but they use SetIndexShift() because the MA_Shift parameter doesn't work properly when the shift is to the future (unless it has been recently fixed) and I didn't want to complicate the issue for a beginner by going into all that. I wouldn't mind betting 99.9% of calls to iMA set the MA Shift parameter to zero.
 
i said: ;-)
Reason: