RealCode API
TradeRange Method (offset)
RealCode APIWBI.CommonBlocksRealCodeIndicatorTradeRange(Int32)
Returns the trade range (high - low) for the offset bars ago
Declaration Syntax
Visual Basic
Public Function TradeRange ( _
	offset As Integer _
) As Single
Parameters
offset (Int32)
Trade range for offset bars ago. 0 = current bar
Return Value
Returns the high - low.
Remarks
Not used during manual loop calculations
Examples
Example: Return the previous bar current trade range
CopyVB.NET
plot = price.TradeRange(1)

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