Skip to content

CustomBar

Summary

Represents a custom OHLC bar.

Signature

1
public sealed struct CustomBar : ValueType

Namespace

cAlgo.API

See Also

Methods

ToString

Signature

1
public string ToString()

Return Value

string

PrintMembers

Signature

1
private bool PrintMembers(StringBuilder builder)

Parameters

Name Type Description
builder StringBuilder

Return Value

bool

GetHashCode

Signature

1
public int GetHashCode()

Return Value

int

Equals (2)

Equals (1 of 2)

Signature

1
public bool Equals(object obj)

Parameters

Name Type Description
obj object

Return Value

bool

Equals (2 of 2)

Signature

1
public bool Equals(CustomBar other)

Parameters

Name Type Description
other CustomBar

Return Value

bool

Properties

Time

Summary

Gets open time of bar.

Signature

1
public DateTime Time {get;}

Return Value

DateTime

Open

Summary

Gets open price of bar.

Signature

1
public double Open {get;}

Return Value

double

High

Summary

Gets high price of bar.

Signature

1
public double High {get;}

Return Value

double

Low

Summary

Gets low price of bar.

Signature

1
public double Low {get;}

Return Value

double

Close

Summary

Gets close price of bar.

Signature

1
public double Close {get;}

Return Value

double

Volume

Summary

Gets volume of bar.

Signature

1
public long Volume {get;}

Return Value

long