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
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 MaxLast of price in the last 5 bars, 10 bars ago
plot = price.MaxLast(5,10)
See Also

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