RealCode API
MaxClose Method (period, offset)
RealCode APIWBI.CommonBlocksRealCodeIndicatorMaxClose(Int32, Int32)
Returns Max Close (highest close) for the specified period, for the offset bars ago
Declaration Syntax
Visual Basic
Public Function MaxClose ( _
	period As Integer, _
	offset As Integer _
) As Single
period (Int32)
The number of bars to calcuate the highest Close
offset (Int32)
The number of bars to offset the calculation
Return Value
Highest Close value for the specified period
Not used during manual loop calculations
Example: Return the MaxClose of price in the last 5 bars, 10 bars ago
plot = price.MaxClose(5,10)
See Also

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