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
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
Plot the 20 bar average 1 bar ago of the high for the current symbol
plot = Price.AVGH(20,1)

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