GpuMarketMeannessIndexParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Market Meanness Index calculation.

Implements: IGpuIndicatorParams

Constructors

GpuMarketMeannessIndexParams
public GpuMarketMeannessIndexParams(int length, byte priceType)
gpuMarketMeannessIndexParams = GpuMarketMeannessIndexParams(length, priceType)

Parameter set for GPU Market Meanness Index calculation.

length
Calculation window length.
priceType
Price type.

Methods

FromIndicator
public void FromIndicator(IIndicator indicator)
gpuMarketMeannessIndexParams.FromIndicator(indicator)

Copy parameters from the given indicator instance into this params struct.

indicator
IIndicator

Fields

Length
public int Length
value = gpuMarketMeannessIndexParams.Length

Window length used for Market Meanness Index.

PriceType
public byte PriceType
value = gpuMarketMeannessIndexParams.PriceType

Price type to extract from candles.