RealCode API
MaxLast Method (period, offset)
RealCode APIWBI.CommonBlocksRealCodeIndicatorMaxLast(Int32, Int32)
Returns Max Last (highest close) for the specified period, for the offset bars ago
Declaration Syntax
Visual Basic
Public Function MaxLast ( _
	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 MaxLast of price in the last 5 bars, 10 bars ago
CopyVB.NET
plot = price.MaxLast(5,10)
See Also

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