RealCode API
RealCodeIndicator Class
RealCode APIWBI.CommonBlocksRealCodeIndicator
Data and Functions for a Chart Indicator. The data is date synced with the price history for the active symbol, meaning there will be a bar of data for every bar of price history for the active symbol and bar interval
Declaration Syntax
Visual Basic
Public Class RealCodeIndicator
Members
All MembersMethodsProperties



IconMemberDescription
AVG(Int32)
Simple Moving Average of the specified period for the current bar

AVG(Int32, Int32)
Simple Moving Average of the specified period for the barsAgo

AVG(Int32, RealCodeIndicator..::.BarValue)
Simple Moving Average of the specified period for the current bar

AVGC(Int32)
Simple Moving Average of the specified period for the close value of the current bar

AVGC(Int32, Int32)
Simple Moving Average of the specified period for the close value, offset by BarsAgo

AVGH(Int32)
Simple Moving Average of the specified period for the high value of the current bar

AVGH(Int32, Int32)
Simple Moving Average of the specified period offset by barsago for the high value

AVGL(Int32)
Simple Moving Average of the specified period for the low value of the current bar

AVGL(Int32, Int32)
Simple Moving Average of the specified period offset by bars ago for the low value

AVGO(Int32)
Simple Moving Average of the specified period for the open value of the current bar

AVGO(Int32, Int32)
Simple Moving Average of the specified period offset by barsago for the open value

Bar()()()
Returns a DateBarSingle object which holds the raw data arrays for dates and open,high,low and close values.Use during manual looping calculations.

Close[([(Int32])])
Close value for the barsAgo. 0 = current bar. Same as value(barsAgo) and Last(barsAgo)

Count
DateValue[([(Int32])])
Returns the date for the specified offset bars ago

DateValue
Returns the date for the currently calculating bar

DefaultValue[([(Int32])])
Default Value property. Same as Value. Used to return the value for a given offset

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExponentialAverage(Int32)
Returns the Exponential Average Calculation for the specified period.

ExponentialAverage(Int32, RealCodeIndicator..::.BarValue)
Returns the Exponential Average Calculation for the specified period. Uses the BarValue data point

Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
High[([(Int32])])
High for the barsAgo. 0 = current bar

High
Returns the High for the current bar

isBar()()()
Designates if Open,High,Low and Close data are available or if only Close(Last) is available.

Last[([(Int32])])
The Last value for the offset index. 0 = currentbar. Same as Close, Value.

Last
Returns the Last for the current bar. Same as close

Line()()()
Returns a DateLineSingle object which holds the raw date and value arrays. Use during manual looping calculations

Low[([(Int32])])
Low for the barsAgo. 0 = current bar

Low
Returns the Low for the current bar

MaxClose(Int32)
Returns Max Close (highest close) for the specified number of bars ago

MaxClose(Int32, Int32)
Returns Max Close (highest close) for the specified period, for the offset bars ago

MaxHigh(Int32)
Returns Max High (highest) for the specified number of bars ago

MaxHigh(Int32, Int32)
Returns Max High (highest) for the specified period for the offset bars ago

MaxLast(Int32)
Returns Max Last (highest last) for the specified number of bars ago. Same as MaxClose

MaxLast(Int32, Int32)
Returns Max Last (highest close) for the specified period, for the offset bars ago

MaxLow(Int32)
Returns Max Low (highest low) for the specified number of bars ago

MaxLow(Int32, Int32)
Returns Max Low (highest low) for the specified period, for the offset bars ago

MaxOpen(Int32)
Returns Max Open (highest) for the specified number of bars ago

MaxOpen(Int32, Int32)
Returns Max Open (highest) for the specified period, for the offset bars ago

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MinClose(Int32)
Returns Minimum Close (lowest close) for the specified number of bars ago.

MinClose(Int32, Int32)
Returns Minimum Close (lowest close) for the specified period, for the offset number of bars ago

MinHigh(Int32)
Returns Minimum high (lowest high) for the specified number of bars ago.

MinHigh(Int32, Int32)
Returns Minimum high (lowest high) for the specified period, for the offset bars ago

MinLast(Int32)
Returns Minimum Last (lowest close) for the specified number of bars ago. Same as MinClose

MinLast(Int32, Int32)
Returns Minimum Last (lowest close) for the specified period by the offs et bars ago. Same as MinClose

MinLow(Int32)
Returns Minimum low (lowest low) for the specified number of bars ago.

MinLow(Int32, Int32)
Returns Minimum low (lowest low) for the specified period for the offset number of bars

MinOpen(Int32)
Returns Minimum Open (lowest open) for the specified number of bars ago.

MinOpen(Int32, Int32)
Returns Minimum Open (lowest open) for the specified period, by the offset number of bars.

MovingAverage(Int32)
Simple Moving Average of the specified period for the current bar

MovingAverage(Int32, RealCodeIndicator..::.BarValue)
Simple Moving Average of the specified period for the current bar

NetChange()()()
Returns the net change vs the previous bar

NetChange(Int32)
Returns the net change vs the specified bars ago.

NetChange(Int32, Int32)
Returns the net change vs the specified bars ago for the number of bars ago

Open[([(Int32])])
Open for the barsAgo. 0 = current bar

Open
Returns the Open for the current bar

PercentChange()()()
Returns the percent change for the current bar vs the previous bar.

PercentChange(Int32)
Returns the percent change vs the specified bars ago.

PercentChange(Int32, Int32)
Returns the percent change vs the specified bars ago for the number of bars ago

RelativeStrengthIndex(Int32, Int32)
Returns the Relative Strength Index Calculation.

RSI(Int32, Int32, Int32)
Returns the Relative Strength Index Value.

RSI(Int32, Int32)
Returns the Relative Strength Index Value.

STOC(Int32, Int32)
Returns the Stochastics specified period and %k.

STOC(Int32, Int32, Int32)
Returns the Stochastics specified period and %k. Offset by the bars ago

Stochastics(Int32, Int32)
Returns the Stochastics specified period and %k.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TradeRange()()()
Returns the trade range (high - low)

TradeRange(Int32)
Returns the trade range (high - low) for the offset bars ago

Value[([(Int32])])
Close Value for the barsAgo. 0 = current bar. Same as Close(barsAgo) and Last(barsAgo)

Value
Returns the close for the current bar

WildersRelativeStrengthIndex(Int32, Int32)
Returns the Wilders Relative Strength Index Calculation.

WRSI(Int32, Int32)
Returns the Wilders Relative Strength Index Value.

WRSI(Int32, Int32, Int32)
Returns the Wilders Relative Strength Index Value. Offset by barsAgo

XAVG(Int32)
Returns the Exponential Average of the close for the specified period.

XAVG(Int32, Int32)
Returns the Exponential Average of the close for the specified period for the specified offset.

XAVG(Int32, RealCodeIndicator..::.BarValue)
Returns the Exponential Average Calculation for the specified period. Uses the BarValue data point

XAVGC(Int32)
Returns the Exponential Average of the close for the specified period.

XAVGC(Int32, Int32)
Returns the Exponential Average of the close for the specified period.

XAVGH(Int32)
Returns the Exponential Average of the high for the specified period.

XAVGH(Int32, Int32)
Returns the Exponential Average of the high for the specified period.

XAVGL(Int32)
Returns the Exponential Average of the low for the specified period.

XAVGL(Int32, Int32)
Returns the Exponential Average of the low for the specified period.

XAVGO(Int32)
Returns the Exponential Average of the open for the specified period.

XAVGO(Int32, Int32)
Returns the Exponential Average of the open for the specified period.

Remarks
Inheritance Hierarchy
Object
RealCodeIndicator

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