Candle class
Represents an immutable OHLCV (Open, High, Low, Close, Volume) data bar.
- Annotations
Constructors
Properties
- close → double
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- high → double
-
final
- isBearish → bool
-
Returns true if this is a bearish candle (close < open).
no setter
- isBullish → bool
-
Returns true if this is a bullish candle (close >= open).
no setter
- low → double
-
final
- open → double
-
final
- percentageChange → double
-
Percentage change relative to open.
no setter
- priceChange → double
-
Absolute price change between open and close.
no setter
- range → double
-
Total bar height from low to high.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
final
- volume → double
-
final
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override