Bars.GetByIndex

Description

Bars.GetByIndex outputs the index for the specified bar object

See Bars.GetBar, Bars.GetBarsAgo, Bars.GetBarIndex.

Parameter

Type int Index

Return Value

Type IBar Bar object for the specified index

Usage

Bars.GetByIndex (int Index)

More Information

For the indexing of bars please see Functionality, Bars

Example

Print(Close[0] + " and " + Bars.GetByIndex(ProcessingBarIndex).Close + " are equal in this example.");

Last updated