Table of Contents

Struct HeatmapCandle

Namespace
ATAS.Indicators.Heatmap
Assembly
ATAS.Indicators.dll

A copy of one candle of a candle series delivered to a heatmap indicator. Times are the candle times exactly as the chart stores them (Time, LastTime): pass them to IHeatmapTradingCalendar as they are; ToTimelineNanos(DateTime) places them on the heatmap timeline.

Not in ATAS 8.0.15 yet: available from the next version.

public readonly struct HeatmapCandle
Extension Methods

Constructors

HeatmapCandle(DateTime, DateTime, decimal, decimal, decimal, decimal, decimal, decimal, decimal)

A copy of one candle of a candle series delivered to a heatmap indicator. Times are the candle times exactly as the chart stores them (Time, LastTime): pass them to IHeatmapTradingCalendar as they are; ToTimelineNanos(DateTime) places them on the heatmap timeline.

public HeatmapCandle(DateTime Time, DateTime LastTime, decimal Open, decimal High, decimal Low, decimal Close, decimal Volume, decimal Bid, decimal Ask)

Parameters

Time DateTime

The candle open time (Time).

LastTime DateTime

The time of the last trade in the candle (LastTime).

Open decimal

The open price.

High decimal

The high price.

Low decimal

The low price.

Close decimal

The close price (the last price while the candle is forming).

Volume decimal

The traded volume.

Bid decimal

The volume traded at the bid (sells).

Ask decimal

The volume traded at the ask (buys).

Properties

Ask

The volume traded at the ask (buys).

public decimal Ask { get; init; }

Property Value

decimal

Bid

The volume traded at the bid (sells).

public decimal Bid { get; init; }

Property Value

decimal

Close

The close price (the last price while the candle is forming).

public decimal Close { get; init; }

Property Value

decimal

High

The high price.

public decimal High { get; init; }

Property Value

decimal

LastTime

The time of the last trade in the candle (LastTime).

public DateTime LastTime { get; init; }

Property Value

DateTime

Low

The low price.

public decimal Low { get; init; }

Property Value

decimal

Open

The open price.

public decimal Open { get; init; }

Property Value

decimal

Time

The candle open time (Time).

public DateTime Time { get; init; }

Property Value

DateTime

Volume

The traded volume.

public decimal Volume { get; init; }

Property Value

decimal

Methods

Deconstruct(out DateTime, out DateTime, out decimal, out decimal, out decimal, out decimal, out decimal, out decimal, out decimal)

public void Deconstruct(out DateTime Time, out DateTime LastTime, out decimal Open, out decimal High, out decimal Low, out decimal Close, out decimal Volume, out decimal Bid, out decimal Ask)

Parameters

Time DateTime
LastTime DateTime
Open decimal
High decimal
Low decimal
Close decimal
Volume decimal
Bid decimal
Ask decimal

Equals(HeatmapCandle)

public bool Equals(HeatmapCandle other)

Parameters

other HeatmapCandle

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

From(IndicatorCandle)

Copies the values of a chart candle.

public static HeatmapCandle From(IndicatorCandle candle)

Parameters

candle IndicatorCandle

The candle to copy.

Returns

HeatmapCandle

The copy.

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(HeatmapCandle, HeatmapCandle)

public static bool operator ==(HeatmapCandle left, HeatmapCandle right)

Parameters

left HeatmapCandle
right HeatmapCandle

Returns

bool

operator !=(HeatmapCandle, HeatmapCandle)

public static bool operator !=(HeatmapCandle left, HeatmapCandle right)

Parameters

left HeatmapCandle
right HeatmapCandle

Returns

bool