RealCode API
AVGH Method (period, barsAgo)
RealCode APIWBI.CommonBlocksRealCodeIndicatorAVGH(Int32, Int32)
Simple Moving Average of the specified period offset by barsago for the high value
Declaration Syntax
Visual Basic
Public Function AVGH ( _
	period As Integer, _
	barsAgo As Integer _
) As Single
Parameters
period (Int32)
moving average period (in bars)
barsAgo (Int32)
offset in bars ago
Return Value
Returns the Moving Average of the high for the specified period
Remarks
Examples
Plot the 20 bar average 1 bar ago of the high for the current symbol
CopyVB.NET
plot = Price.AVGH(20,1)

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