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
Parameters
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
Remarks
Not used during manual loop calculations
Examples
Example: Return the MaxClose of price in the last 5 bars, 10 bars ago
CopyVB.NET
plot = price.MaxClose(5,10)
See Also

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