IOhlcDataSeries
StockSharp.Xaml.Charting.Model.DataSeries
Defines the typed interface to an OHLC DataSeries, a series containing Open, High, Low, Close data-points
Implements: IDataSeries<T, T>, IDataSeries, ISuspendable, IOhlcDataSeries
Properties
CloseValues
public IList<TY> CloseValues { get; }
value = iOhlcDataSeries.CloseValues
Gets the Close Values of this DataSeries, if the data is OHLC
HighValues
public IList<TY> HighValues { get; }
value = iOhlcDataSeries.HighValues
Gets the High Values of this DataSeries, if the data is OHLC
LowValues
public IList<TY> LowValues { get; }
value = iOhlcDataSeries.LowValues
Gets the Low Values of this DataSeries, if the data is OHLC
OpenValues
public IList<TY> OpenValues { get; }
value = iOhlcDataSeries.OpenValues
Gets the Open Values of this DataSeries, if the data is OHLC
Methods
Append
public void Append(TX x, TY open, TY high, TY low, TY close)
iOhlcDataSeries.Append(x, open, high, low, close)
Appends an Open, High, Low, Close point to the series
- x
- The X value
- open
- The Open value
- high
- The High value
- low
- The Low value
- close
- The Close value
Append
public void Append(IEnumerable<TX> x, IEnumerable<TY> open, IEnumerable<TY> high, IEnumerable<TY> low, IEnumerable<TY> close)
iOhlcDataSeries.Append(x, open, high, low, close)
Appends a list of Open, High, Low, Close points to the series
- x
- The list of X values
- open
- The list of Open values
- high
- The list of High values
- low
- The list of Low values
- close
- The list of Close values
Insert
public void Insert(int index, TX x, TY open, TY high, TY low, TY close)
iOhlcDataSeries.Insert(index, x, open, high, low, close)
Inserts an Open, High, Low, Close point at the specified index
- index
- The index to insert at
- x
- The X value
- open
- The Open value
- high
- The High value
- low
- The low value
- close
- The close value
InsertRange
public void InsertRange(int startIndex, IEnumerable<TX> x, IEnumerable<TY> open, IEnumerable<TY> high, IEnumerable<TY> low, IEnumerable<TY> close)
iOhlcDataSeries.InsertRange(startIndex, x, open, high, low, close)
Inserts a list of Open, High, Low, Close points at the specified index
- startIndex
- The index to insert at
- x
- The list of X values
- open
- The list of Open values
- high
- The list of High values
- low
- The list of Low values
- close
- The list of Close values
Update
public void Update(TX x, TY open, TY high, TY low, TY close)
iOhlcDataSeries.Update(x, open, high, low, close)
Updates an Open, High, Low, Close point specified by the X-Value passed in.
- x
- The X Value to key on when updating
- open
- The Open value
- high
- The High value
- low
- The Low value
- close
- The Close value