TPriceType

Enumeration of price calculation methods that can be used to specify how price values should be calculated from candle data.

Values

Enum Value
Description

CLOSE

Closing price of the candle

OPEN

Opening price of the candle

HIGH

Highest price of the candle

LOW

Lowest price of the candle

HL2

Median price: (High + Low) / 2

HLC3

Typical price: (High + Low + Close) / 3

HLCC4

Weighted price: (High + Low + Close + Close) / 4

OHLC4

Average price: (Open + High + Low + Close) / 4

Last updated