GpuBullPowerParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Bull Power calculation.

実装: IGpuIndicatorParams

コンストラクター

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

フィールド

Length
public int Length
value = gpuBullPowerParams.Length

EMA period length.

PriceType
public byte PriceType
value = gpuBullPowerParams.PriceType

Price type to extract for EMA calculation.