GpuNickRypockTrailingReverseParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Nick Rypock Trailing Reverse (NRTR) calculation.
コンストラクター
GpuNickRypockTrailingReverseParams
public GpuNickRypockTrailingReverseParams(int length, float multiple, byte priceType)
gpuNickRypockTrailingReverseParams = GpuNickRypockTrailingReverseParams(length, multiple, priceType)
Parameter set for GPU Nick Rypock Trailing Reverse (NRTR) calculation.
- length
- Indicator length.
- multiple
- Multiplier value already scaled for internal NRTR calculation.
- priceType
- Price type to extract from candles.
メソッド
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuNickRypockTrailingReverseParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
フィールド
Multiple
public float Multiple
value = gpuNickRypockTrailingReverseParams.Multiple
Multiplier used in NRTR smoothing (already divided by 1000 as in indicator internals).
PriceType
public byte PriceType
value = gpuNickRypockTrailingReverseParams.PriceType
Price type to extract from candles.