CandlestickData class

Represents data for a single candlestick in a candlestick chart.

A candlestick encapsulates essential information about price movements within a specific time frame, commonly used in financial trading. Each candlestick displays the opening, closing, high, and low prices within the designated period, helping traders visualize market trends.

Constructors

CandlestickData({required DateTime date, required double open, required double high, required double low, required double close, double? volume})
const

Properties

close double
The closing price of the candlestick.
final
date DateTime
The date and time of this candlestick.
final
hashCode int
The hash code for this object.
no setterinherited
high double
The highest price during the time period of this candlestick.
final
isBullish bool
Determines whether this is a bullish (green) or bearish (red) candlestick.
no setter
low double
The lowest price during the time period of this candlestick.
final
open double
The opening price of the candlestick.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
volume double?
Optional volume data for the candlestick.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited