RealCode API
AVGC Method (period)
RealCode APIWBI.CommonBlocksRealCodeIndicatorAVGC(Int32)
Simple Moving Average of the specified period for the close value of the current bar
Declaration Syntax
Visual Basic
Public Function AVGC ( _
	period As Integer _
) As Single
Parameters
period (Int32)
moving average period (in bars)
Return Value
Returns the Moving Average of the close for the specified period
Remarks
Examples
Plot the 20 bar average of the close for the current symbol
CopyVB.NET
plot = Price.AVGC(20)

Assembly: WBI.CommonBlocks (Module: WBI.CommonBlocks) Version: 1.0.25.0 (1.0.0.0)