IndicatorHelper

StockSharp.Algo.Indicators

インジケーターの拡張クラス。

メソッド

CreateEmptyValue
public static IIndicatorValue CreateEmptyValue(IIndicator indicator, DateTime time)
result = IndicatorHelper.CreateEmptyValue(indicator, time)

Create empty IIndicatorValue.

indicator
インジケーター
time
タイムタイム

戻り値: Empty IIndicatorValue.

CreateIndicator
public static IIndicator CreateIndicator(IndicatorType type)
result = IndicatorHelper.CreateIndicator(type)

インジケータを作成します。.

type
担当: 佐藤 宏

戻り値: インジケーター

ExcludeObsolete
public static IEnumerable<IndicatorType> ExcludeObsolete(IEnumerable<IndicatorType> types)
result = IndicatorHelper.ExcludeObsolete(types)

正規指標を除外します。

types
すべてのインジケータタイプ。

戻り値: フィルタリングされたコレクション。

GetCurrentValue
public static decimal GetCurrentValue(IIndicator indicator)
result = IndicatorHelper.GetCurrentValue(indicator)

インジケータの現在の値を取得するには.

indicator
インジケーター。

戻り値: 現在の値。

GetCurrentValue``1
public static T GetCurrentValue<T>(IIndicator indicator)
result = IndicatorHelper.GetCurrentValue(indicator)

インジケータの現在の値を取得するには.

indicator
インジケーター。

戻り値: 現在の値。

GetFirstValue
public static decimal GetFirstValue(IIndicator indicator)
result = IndicatorHelper.GetFirstValue(indicator)

インジケータの最初の値を取得するには.

indicator
インジケーター。

戻り値: 現在の値。

GetNullableCurrentValue
public static decimal? GetNullableCurrentValue(IIndicator indicator)
result = IndicatorHelper.GetNullableCurrentValue(indicator)

インジケータの現在の値を取得するには.

indicator
インジケーター。

戻り値: 現在の値。

GetNullableFirstValue
public static decimal? GetNullableFirstValue(IIndicator indicator)
result = IndicatorHelper.GetNullableFirstValue(indicator)

インジケータの最初の値を取得するには.

indicator
インジケーター。

戻り値: 現在の値。

GetNullableValue
public static decimal? GetNullableValue(IIndicator indicator, int index)
result = IndicatorHelper.GetNullableValue(indicator, index)

インデックス(0 - 最後の値)でインジケータ値を取得する。

indicator
インジケーター。
index
値のインデックス。

戻り値: インジケータ値。

GetValue
public static decimal GetValue(IIndicator indicator, int index)
result = IndicatorHelper.GetValue(indicator, index)

インデックス(0 - 最後の値)でインジケータ値を取得する。

indicator
インジケーター。
index
値のインデックス。

戻り値: インジケータ値。

GetValueType
public static Type GetValueType(Type indicatorType, bool isInput)
result = IndicatorHelper.GetValueType(indicatorType, isInput)

指定したインジケーターの値タイプを取得します。

indicatorType
インジケータタイプ。
isInput
入力です。

戻り値: 値タイプ。

GetValue``1
public static T GetValue<T>(IIndicator indicator, int index)
result = IndicatorHelper.GetValue(indicator, index)

インデックス(0 - 最後の値)でインジケータ値を取得する。

indicator
インジケーター。
index
値のインデックス。

戻り値: インジケータ値。

IsNonDecimalOutputValue
public static bool IsNonDecimalOutputValue(Type indicator)
result = IndicatorHelper.IsNonDecimalOutputValue(indicator)

インジケータが非決定出力値かどうかを決定します。

indicator
インジケータタイプ。

戻り値: 結果をチェックする。

Preload
public static void Preload(IIndicator indicator, IEnumerable<ValueTuple<DateTime, object[]>> items)
IndicatorHelper.Preload(indicator, items)

プリミティブ・トゥプルを使用してバルク・プレロード。 実装は上書きするかもしれません。 デフォルトはNotSupportedExceptionをスローします。

indicator
インジケーター
items
ToValues出力に対応する値(時間、値)の配列。
Process
public static IIndicatorValue Process(IIndicator indicator, decimal value, DateTime time, bool isFinal)
result = IndicatorHelper.Process(indicator, value, time, isFinal)

数値でインジケータを更新するには.

indicator
インジケーター。
value
数値化値。
time
タイムタイム
isFinal
値が最終(インジケータは最終的にその値を形成し、もうこの時点では変更されません)。 デフォルトは .

戻り値: インジケータの新しい値。

Process
public static IIndicatorValue Process(IIndicator indicator, ICandleMessage candle)
result = IndicatorHelper.Process(indicator, candle)

キャンドル閉幕価格ClosePriceでインジケータを更新するには.

indicator
インジケーター。
candle
キャンドル。

戻り値: インジケータの新しい値。

Process
public static IIndicatorValue Process(IIndicator indicator, IIndicatorValue input, decimal value)
result = IndicatorHelper.Process(indicator, input, value)

数値でインジケータを更新するには.

indicator
インジケーター。
input
担当: 佐藤 宏
value
数値化値。

戻り値: インジケータの新しい値。

Process
public static IIndicatorValue Process(IIndicator indicator, object inputValue, DateTime time, bool isFinal)
result = IndicatorHelper.Process(indicator, inputValue, time, isFinal)

新規価値のあるインジケータを更新する。

indicator
インジケーター。
inputValue
入力値。
time
タイムタイム
isFinal
担当: 佐藤 宏

戻り値: 代表取締役社長 佐藤 浩

Process``1
public static IIndicatorValue Process<TValue>(IIndicator indicator, ValueTuple<TValue, TValue> value, DateTime time, bool isFinal)
result = IndicatorHelper.Process(indicator, value, time, isFinal)

数値ペアでインジケータを更新するには.

indicator
インジケーター。
value
値のペア。
time
タイムタイム
isFinal
ペアファイナル(インジケータは最終的にその値を形成し、もうこの時点で変更されません)の場合。 デフォルトは .

戻り値: インジケータの新しい値。

SetValue
public static IIndicatorValue SetValue(IIndicatorValue input, IIndicator indicator, decimal value)
result = IndicatorHelper.SetValue(input, indicator, value)

インジケータの入力値を新しい値(例えば別のインジケータから受け取った)に置き換える。

input
担当: 佐藤 宏
indicator
インジケーター。
value
値。

戻り値: 入力値を含む新しいオブジェクト。

ToCandle
public static ICandleMessage ToCandle(IIndicatorValue value)
result = IndicatorHelper.ToCandle(value)

代表取締役社長 佐藤 浩一

value
担当: 佐藤 宏

戻り値: 担当: 佐藤 宏

ToDecimal
public static decimal ToDecimal(IIndicatorValue value, Level1Fields? source)
result = IndicatorHelper.ToDecimal(value, source)

変換IIndicatorValueをDecimalに。

value
担当: 佐藤 宏
source
フィールド指定値のソース。

戻り値: スケジュール

ToNullableDecimal
public static decimal? ToNullableDecimal(IIndicatorValue value, Level1Fields? source)
result = IndicatorHelper.ToNullableDecimal(value, source)

IIndicatorValueをDecimalに変換するか、値が空の場合に変換します。

value
担当: 佐藤 宏
source
フィールド指定値のソース。

戻り値: 値が空の場合、または値が空の場合。

TryCreateIndicator
public static IIndicator TryCreateIndicator(IndicatorType type)
result = IndicatorHelper.TryCreateIndicator(type)

インジケータを作成します。.

type
担当: 佐藤 宏

戻り値: インジケーター

TryGetById
public static IndicatorType TryGetById(IIndicatorProvider provider, string id)
result = IndicatorHelper.TryGetById(provider, id)

Try find IndicatorType by identifier.

provider
担当: 佐藤 宏
id
識別子。

戻り値: IndicatorType or .

TryGetByType
public static IndicatorType TryGetByType(IIndicatorProvider provider, Type type)
result = IndicatorHelper.TryGetByType(provider, type)

Try find IndicatorType by type.

provider
担当: 佐藤 宏
type
インフォメーション

戻り値: IndicatorType or .