GpuBullPowerParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Bull Power calculation.
コンストラクター
GpuBullPowerParams
public GpuBullPowerParams(int length, byte priceType)
gpuBullPowerParams = GpuBullPowerParams(length, priceType)
Parameter set for GPU Bull Power calculation.
- length
- Exponential moving average length.
- priceType
- Price type used for EMA source.
メソッド
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuBullPowerParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
フィールド
PriceType
public byte PriceType
value = gpuBullPowerParams.PriceType
Price type to extract for EMA calculation.