GpuEndpointMovingAverageParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Endpoint Moving Average (EPMA) calculation.
构造函数
GpuEndpointMovingAverageParams
public GpuEndpointMovingAverageParams(int length, byte priceType)
gpuEndpointMovingAverageParams = GpuEndpointMovingAverageParams(length, priceType)
Parameter set for GPU Endpoint Moving Average (EPMA) calculation.
- length
- EPMA length.
- priceType
- Price type.
方法
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuEndpointMovingAverageParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
字段
PriceType
public byte PriceType
value = gpuEndpointMovingAverageParams.PriceType
Price type to extract from candles.