ShiftedIndicatorValue

StockSharp.Algo.Indicators

O valor deslocado do indicador.

Herda de: SingleIndicatorValue<decimal>

Construtores

ShiftedIndicatorValue
public ShiftedIndicatorValue(IIndicator indicator, DateTime time)
shiftedIndicatorValue = ShiftedIndicatorValue(indicator, time)

Inicializa uma nova instância do ShiftedIndicatorValue.

indicator
Indicador.
time
Hora
ShiftedIndicatorValue
public ShiftedIndicatorValue(IIndicator indicator, decimal value, int shift, DateTime time)
shiftedIndicatorValue = ShiftedIndicatorValue(indicator, value, shift, time)

Inicializa uma nova instância do ShiftedIndicatorValue.

indicator
Indicador.
value
Valor indicador.
shift
A mudança do valor do indicador.
time
Hora

Propriedades

Shift
public int Shift { get; private set; }
value = shiftedIndicatorValue.Shift
shiftedIndicatorValue.Shift = value

A mudança do valor do indicador.

Métodos

FromValues
public override void FromValues(object[] values)
shiftedIndicatorValue.FromValues(values)

Converter para o valor indicador.

values
ToValues
ToValues
public override IEnumerable<object> ToValues()
result = shiftedIndicatorValue.ToValues()

Converter para valores primitivos.

Retorna: Valores primitivos.