RealCode API
XAVGC Method (period, barsAgo)
RealCode APIWBI.CommonBlocksRealCodeIndicatorXAVGC(Int32, Int32)
Returns the Exponential Average of the close for the specified period.
Declaration Syntax
Visual Basic
Public Function XAVGC ( _
	period As Integer, _
	barsAgo As Integer _
) As Single
period (Int32)
The number of bars to perform the average
barsAgo (Int32)
The number of bars ago to return
Return Value
Returns a single data point
Not used during manual loop calculations
Example: Plot the 20 bar Exponential Average of the close.
plot = price.XAVGC(20)
See Also

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