Moving Average - Simple

An indicator which shows for every interval the average of the last n number of intervals. 

 

Syntax: MA(Source, Length, Offset, Interval, [Ref], [Symbol])

Source = Required.

Length = Required.  The number of bars in the average.

Offset = Required.  Allows you to adjust the moving average to the right (positive values).  Only positive offsets are recognized.  All negative offsets are interpreted as 0 offset.

Interval = Required. 

[Ref] = Optional.

[Symbol] = Optional.

 

Examples:

MA(C, 20, 0, D, YHOO)

20 Day Moving Average using the Closing price with no offset for YHOO.

 

MA(C, 10, 2, 5, YHOO)

10 period  5-minute Moving Average using the Closing price offset 2 periods to the right for YHOO.