PriceSeries<double>

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > ISeries<T> >

PriceSeries<double>

Previous page Return to chapter overview Next page

Definition

Represents historical data as an ISeries<double> interface which can be used for custom NinjaScript object calculations.

 

Note:  In most cases, you will access the historical price series using a core event handler such as OnBarUpdate.  For more advance developers, you may find situations where you wish to access historical price series outside of the core event methods, such as your own custom mouse click.  In these advanced scenarios, you may run into situations where the barsAgo pointer is not in sync with the current bar, which may cause errors when trying to obtain this information.  In those cases, please use the Bars.Get...() methods with the absolute bar index, e.g., Bars.GetClose(), Bars.GetOpen(), etc.

 

 

Single ISeries<double>

Close

A collection of historical bar close prices.

High

A collection of historical bar high prices.

Input

A collect of the the main historical input values.

Low

A collection of historical bar low prices.

Median

A collection of historical bar median prices.

Open

A collection of historical bar open prices.

Typical

A collection of historical bar typical prices.

Value

A collection of historical references to the first object (Values[0]) in the indicator

Weighted

A collection of historical bar weighted prices.

 

 

Multi-Time Frame ISeries<double>

Closes

Holds an array of ISeries<double> objects holding historical bar close prices.

Highs

Holds an array of ISeries<double> objects holding historical bar high prices.

Inputs

Holds an array of ISeries<double> objects holding main historical input values

Lows

Holds an array of ISeries<double> objects holding historical bar low prices.

Medians

Holds an array of ISeries<double>objects holding historical bar median prices.

Opens

Holds an array of ISeries<double> objects holding historical bar open prices.

Typicals

Holds an array of ISeries<double> objects holding historical bar typical prices.

Values

Holds an array of ISeries<double> objects holding hold the indicator's underlying calculated values.

Weighteds

Holds an array of ISeries<double> objects holding historical bar weighted prices.