OhlcDataSeries
A DataSeries OHLC のデータポイントを格納する X と Y-Open、Y-Low、Y-Close の値。DataSourceとして、標準の XY レンダリング可能なシリーズタイプとして使用できます。
継承元: DataSeries<T, T>
実装: IOhlcDataSeries<T, T>, IDataSeries<T, T>, IDataSeries, ISuspendable, IOhlcDataSeries, ITimeframeDataSeries
コンストラクター
public OhlcDataSeries()
ohlcDataSeries = OhlcDataSeries()
OhlcDataSeriesクラスの新しいインスタンスを初期化します。
プロパティ
public IList<TY> CloseValues { get; }
value = ohlcDataSeries.CloseValues
データをOHLCの場合、DataSeries@のクローズ値を取得します。
public override DataSeriesType DataSeriesType { get; }
value = ohlcDataSeries.DataSeriesType
DataSeries の DataSeriesType を手に入れよう
public override bool HasValues { get; }
value = ohlcDataSeries.HasValues
データシリーズに値が含まれているかどうかを調べる(空でない)
public IList<TY> HighValues { get; }
value = ohlcDataSeries.HighValues
OHLC の場合、この DataSeries の高値を取得します。
public IList<TY> LowValues { get; }
value = ohlcDataSeries.LowValues
OHLC の場合、この DataSeries の低値を取得します。
public IList<TY> OpenValues { get; }
value = ohlcDataSeries.OpenValues
データをOHLCの場合、DataSeries@のオープン値を取得する
StockSharp#Xaml#Charting#Model#DataSeries#IOhlcDataSeries#CloseValues
比較可能リストとして、DataSeriesのクローズ値を取得する
StockSharp#Xaml#Charting#Model#DataSeries#IOhlcDataSeries#HighValues
比較可能リストとして、このDataSeriesの高値を取得する
StockSharp#Xaml#Charting#Model#DataSeries#IOhlcDataSeries#LowValues
比較可能リストとして、このDataSeriesの低値を取得する
StockSharp#Xaml#Charting#Model#DataSeries#IOhlcDataSeries#OpenValues
今回のDataSeriesのオープンバリューをゲット
public override IRange YRange { get; }
value = ohlcDataSeries.YRange
YRange は、YMin と YMax プロパティをラップする IRange である、計算された YRange を取得します。
メソッド
public void Append(IEnumerable<TX> x, IEnumerable<TY> open, IEnumerable<TY> high, IEnumerable<TY> low, IEnumerable<TY> close)
ohlcDataSeries.Append(x, open, high, low, close)
開いた、高い、低い、近いポイントのシリーズのリストを推薦して下さい
- x
- X値の一覧
- open
- 値のオープンリスト
- high
- 値の高いリスト
- low
- 値の低いリスト
- close
- クローズ値のリスト
public void Append(TX x, TY open, TY high, TY low, TY close)
ohlcDataSeries.Append(x, open, high, low, close)
開口部、高、低、シリーズのクローズポイントを付与
- x
- X 値
- open
- 値のオープン
- high
- 価値の高い
- low
- 低い値
- close
- クローズ値
public override void Append(IEnumerable<TX> x, IEnumerable<TY>[] yValues)
ohlcDataSeries.Append(x, yValues)
X、Yのポイントをシリーズにリストに追加
- x
- Xポイントの一覧
- yValues
- Yポイント一覧(シリーズタイプにより異なります)
public override void Append(TX x, TY[] yValues)
ohlcDataSeries.Append(x, yValues)
X、Y をシリーズに表示
- x
- X 値
- yValues
- Y値(シリーズタイプにより異なります)
protected override void ClearColumns()
ohlcDataSeries.ClearColumns()
派生したクラスにオーバーライドすると、Data Series のすべての列をクリアします。
public override IDataSeries<TX, TY> Clone()
result = ohlcDataSeries.Clone()
DataSeriesの深いコピーを作成します。
public override TY GetYMaxAt(int index, TY existingYMax)
result = ohlcDataSeries.GetYMaxAt(index, existingYMax)
派生クラスに上書きすると、currentMax@,@currentMax) が取得され、currentMaxが指定されたインデックスで最大になります。
- index
- 根本的なデータセットへのインデックス
- existingYMax
- 既存の最大
戻り値: 新規 YMax、Min(existingYMaxcurrentMax) です。
public override TY GetYMinAt(int index, TY existingYMin)
result = ohlcDataSeries.GetYMinAt(index, existingYMin)
派生クラスに上書きすると、指定したインデックスでcurrentMin@,currentMin) が最小限にcurrentMinが取得されます。
- index
- 根本的なデータセットへのインデックス
- existingYMin
- 既存の最小限
戻り値: ミネ(existingYMincurrentMin)の新商品「YMin」が誕生しました。
public void Insert(int index, TX x, TY open, TY high, TY low, TY close)
ohlcDataSeries.Insert(index, x, open, high, low, close)
指定されたインデックスで、オープン、ハイ、ロー、クローズポイントをインサート
- index
- インサートするインデックス
- x
- X 値
- open
- 値のオープン
- high
- 価値の高い
- low
- 低い値
- close
- クローズ値
public void InsertRange(int startIndex, IEnumerable<TX> x, IEnumerable<TY> open, IEnumerable<TY> high, IEnumerable<TY> low, IEnumerable<TY> close)
ohlcDataSeries.InsertRange(startIndex, x, open, high, low, close)
指定されたインデックスで、[オープン、ハイ、ロー、クローズポイント] の一覧を入力
- startIndex
- インサートするインデックス
- x
- X値の一覧
- open
- 値のオープンリスト
- high
- 値の高いリスト
- low
- 値の低いリスト
- close
- クローズ値のリスト
public override void RemoveAt(int index)
ohlcDataSeries.RemoveAt(index)
指定したインデックスでX,Y値を削除します。
- index
- 削除するインデックス
public override void RemoveRange(int startIndex, int count)
ohlcDataSeries.RemoveRange(startIndex, count)
指定したインデックスから始まるポイントの範囲を削除します。
- startIndex
- 要素の範囲のインデックスを解除する
- count
- 削除する要素の数
public override HitTestInfo ToHitTestInfo(int index)
result = ohlcDataSeries.ToHitTestInfo(index)
派生したクラスにオーバーライドすると、指定したインデックスでデータポイントを含むHitTestInfostructを返します。
- index
- 代表取締役社長 岡本 俊一
戻り値: 代表取締役社長 佐藤 正
public override IPointSeries ToPointSeries(ResamplingMode resamplingMode, IndexRange pointRange, int viewportWidth, bool isCategoryAxis, bool? dataIsDisplayedAs2D, IRange visibleXRange, IPointResamplerFactory factory, object pointSeriesArg)
result = ohlcDataSeries.ToPointSeries(resamplingMode, pointRange, viewportWidth, isCategoryAxis, dataIsDisplayedAs2D, visibleXRange, factory, pointSeriesArg)
デフォルトの YValue を IPointSeriesに変換し、XY シリーズをレンダリングするために使用されます。
- resamplingMode
- The desired ResamplingMode
- pointRange
- 整数インデックスは、親データセットの範囲
- viewportWidth
- viewport の現在の幅
- isCategoryAxis
- もしtrueなら、インデックスを使用して再サンプルされたX値を形成し、X-Values自体を使う
- dataIsDisplayedAs2D
- もしtrueなら、ポイントと関係なく、scatterシリーズとしてデータが提示されると、e.gはラインシリーズではなく、
- visibleXRange
- 再サンプリング時のXAxis VisibleRange
- factory
- 代表取締役社長 佐藤 正
- pointSeriesArg
- ポイントシリーズに追加のパラメータを追加します。
戻り値: XYシリーズをレンダリングするのに使用される@IPointSeries
public void Update(TX x, TY open, TY high, TY low, TY close)
ohlcDataSeries.Update(x, open, high, low, close)
X-Value が指定したオープン、ハイ、ロー、クローズポイントを更新します。
- x
- 更新時にキーにX値
- open
- 値のオープン
- high
- 価値の高い
- low
- 低い値
- close
- クローズ値