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