GpuConstanceBrownCompositeIndexParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Constance Brown Composite Index calculation.
Implementa: IGpuIndicatorParams
Construtores
GpuConstanceBrownCompositeIndexParams
public GpuConstanceBrownCompositeIndexParams(int rsiLength, int rocLength, int shortRsiLength, int momentumLength, int fastSmaLength, int slowSmaLength, byte priceType)
gpuConstanceBrownCompositeIndexParams = GpuConstanceBrownCompositeIndexParams(rsiLength, rocLength, shortRsiLength, momentumLength, fastSmaLength, slowSmaLength, priceType)
Parameter set for GPU Constance Brown Composite Index calculation.
- rsiLength
- RSI length.
- rocLength
- ROC length over RSI.
- shortRsiLength
- Short RSI length.
- momentumLength
- Momentum SMA length over short RSI.
- fastSmaLength
- Fast SMA length over composite.
- slowSmaLength
- Slow SMA length over composite.
- priceType
- Price type used for RSI part.
Métodos
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuConstanceBrownCompositeIndexParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Campos
FastSmaLength
public int FastSmaLength
value = gpuConstanceBrownCompositeIndexParams.FastSmaLength
Fast SMA length over composite.
MomentumLength
public int MomentumLength
value = gpuConstanceBrownCompositeIndexParams.MomentumLength
Momentum SMA length over short RSI.
PriceType
public byte PriceType
value = gpuConstanceBrownCompositeIndexParams.PriceType
Price type to extract for RSI part.
RocLength
public int RocLength
value = gpuConstanceBrownCompositeIndexParams.RocLength
ROC length over RSI.
ShortRsiLength
public int ShortRsiLength
value = gpuConstanceBrownCompositeIndexParams.ShortRsiLength
Short RSI length.
SlowSmaLength
public int SlowSmaLength
value = gpuConstanceBrownCompositeIndexParams.SlowSmaLength
Slow SMA length over composite.