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

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