ProtoOATrendbar

StockSharp.cTrader.Native.Model

* Historical Trendbar entity.

Implements: IMessage<ProtoOATrendbar>, IMessage, IEquatable<ProtoOATrendbar>, IDeepCloneable<ProtoOATrendbar>, IBufferMessage

Properties

DeltaClose
public ulong DeltaClose { get; set; }
value = protoOATrendbar.DeltaClose
protoOATrendbar.DeltaClose = value

Delta between close and low price. close = low + deltaClose.

DeltaHigh
public ulong DeltaHigh { get; set; }
value = protoOATrendbar.DeltaHigh
protoOATrendbar.DeltaHigh = value

Delta between high and low price. high = low + deltaHigh.

DeltaOpen
public ulong DeltaOpen { get; set; }
value = protoOATrendbar.DeltaOpen
protoOATrendbar.DeltaOpen = value

Delta between open and low price. open = low + deltaOpen.

HasDeltaClose
public bool HasDeltaClose { get; }
value = protoOATrendbar.HasDeltaClose

Gets whether the "deltaClose" field is set

HasDeltaHigh
public bool HasDeltaHigh { get; }
value = protoOATrendbar.HasDeltaHigh

Gets whether the "deltaHigh" field is set

HasDeltaOpen
public bool HasDeltaOpen { get; }
value = protoOATrendbar.HasDeltaOpen

Gets whether the "deltaOpen" field is set

HasLow
public bool HasLow { get; }
value = protoOATrendbar.HasLow

Gets whether the "low" field is set

HasPeriod
public bool HasPeriod { get; }
value = protoOATrendbar.HasPeriod

Gets whether the "period" field is set

HasUtcTimestampInMinutes
public bool HasUtcTimestampInMinutes { get; }
value = protoOATrendbar.HasUtcTimestampInMinutes

Gets whether the "utcTimestampInMinutes" field is set

HasVolume
public bool HasVolume { get; }
value = protoOATrendbar.HasVolume

Gets whether the "volume" field is set

Low
public long Low { get; set; }
value = protoOATrendbar.Low
protoOATrendbar.Low = value

Low price of the bar.

Period
public ProtoOATrendbarPeriod Period { get; set; }
value = protoOATrendbar.Period
protoOATrendbar.Period = value

Bar period.

UtcTimestampInMinutes
public uint UtcTimestampInMinutes { get; set; }
value = protoOATrendbar.UtcTimestampInMinutes
protoOATrendbar.UtcTimestampInMinutes = value

The Unix time in minutes of the bar, equal to the timestamp of the open tick.

Volume
public long Volume { get; set; }
value = protoOATrendbar.Volume
protoOATrendbar.Volume = value

Bar volume in ticks.

Methods

ClearDeltaClose
public void ClearDeltaClose()
protoOATrendbar.ClearDeltaClose()

Clears the value of the "deltaClose" field

ClearDeltaHigh
public void ClearDeltaHigh()
protoOATrendbar.ClearDeltaHigh()

Clears the value of the "deltaHigh" field

ClearDeltaOpen
public void ClearDeltaOpen()
protoOATrendbar.ClearDeltaOpen()

Clears the value of the "deltaOpen" field

ClearLow
public void ClearLow()
protoOATrendbar.ClearLow()

Clears the value of the "low" field

ClearPeriod
public void ClearPeriod()
protoOATrendbar.ClearPeriod()

Clears the value of the "period" field

ClearUtcTimestampInMinutes
public void ClearUtcTimestampInMinutes()
protoOATrendbar.ClearUtcTimestampInMinutes()

Clears the value of the "utcTimestampInMinutes" field

ClearVolume
public void ClearVolume()
protoOATrendbar.ClearVolume()

Clears the value of the "volume" field

Fields

DeltaCloseFieldNumber
public const int DeltaCloseFieldNumber
value = ProtoOATrendbar.DeltaCloseFieldNumber

Field number for the "deltaClose" field.

DeltaHighFieldNumber
public const int DeltaHighFieldNumber
value = ProtoOATrendbar.DeltaHighFieldNumber

Field number for the "deltaHigh" field.

DeltaOpenFieldNumber
public const int DeltaOpenFieldNumber
value = ProtoOATrendbar.DeltaOpenFieldNumber

Field number for the "deltaOpen" field.

LowFieldNumber
public const int LowFieldNumber
value = ProtoOATrendbar.LowFieldNumber

Field number for the "low" field.

PeriodFieldNumber
public const int PeriodFieldNumber
value = ProtoOATrendbar.PeriodFieldNumber

Field number for the "period" field.

UtcTimestampInMinutesFieldNumber
public const int UtcTimestampInMinutesFieldNumber
value = ProtoOATrendbar.UtcTimestampInMinutesFieldNumber

Field number for the "utcTimestampInMinutes" field.

VolumeFieldNumber
public const int VolumeFieldNumber
value = ProtoOATrendbar.VolumeFieldNumber

Field number for the "volume" field.