GpuGmmaParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Guppy Multiple Moving Average calculation.

実装: IGpuIndicatorParams

コンストラクター

GpuGmmaParams
public GpuGmmaParams(byte priceType)
gpuGmmaParams = GpuGmmaParams(priceType)

Parameter set for GPU Guppy Multiple Moving Average calculation.

priceType
Price type.

プロパティ

DefaultLengths
public static ReadOnlySpan<int> DefaultLengths { get; }
value = GpuGmmaParams.DefaultLengths

Get GMMA default lengths.

メソッド

FromIndicator
public void FromIndicator(IIndicator indicator)
gpuGmmaParams.FromIndicator(indicator)

Copy parameters from the given indicator instance into this params struct.

indicator
IIndicator
GetLength
public int GetLength(int index)
result = gpuGmmaParams.GetLength(index)

Get configured length by index.

index
Moving average index.

戻り値: Configured length.

フィールド

AveragesCount
public const int AveragesCount
value = GpuGmmaParams.AveragesCount

Number of moving averages calculated by GMMA.

Length0
public int Length0
value = gpuGmmaParams.Length0

Length of the first exponential moving average.

Length1
public int Length1
value = gpuGmmaParams.Length1

Length of the second exponential moving average.

Length10
public int Length10
value = gpuGmmaParams.Length10

Length of the eleventh exponential moving average.

Length11
public int Length11
value = gpuGmmaParams.Length11

Length of the twelfth exponential moving average.

Length2
public int Length2
value = gpuGmmaParams.Length2

Length of the third exponential moving average.

Length3
public int Length3
value = gpuGmmaParams.Length3

Length of the fourth exponential moving average.

Length4
public int Length4
value = gpuGmmaParams.Length4

Length of the fifth exponential moving average.

Length5
public int Length5
value = gpuGmmaParams.Length5

Length of the sixth exponential moving average.

Length6
public int Length6
value = gpuGmmaParams.Length6

Length of the seventh exponential moving average.

Length7
public int Length7
value = gpuGmmaParams.Length7

Length of the eighth exponential moving average.

Length8
public int Length8
value = gpuGmmaParams.Length8

Length of the ninth exponential moving average.

Length9
public int Length9
value = gpuGmmaParams.Length9

Length of the tenth exponential moving average.

PriceType
public byte PriceType
value = gpuGmmaParams.PriceType

Price type to extract from candles.