TechnicalIndicator<T, D> class
abstract
Customize the technical indicators.
The technical indicator is a mathematical calculation based on historical price, volume or (in the case of futures contracts) open interest information, which is intended to predict the direction of the financial market.
Indicators generally overlay the chart data to show the data flow over a period of time.
Note: This property is applicable only for financial chart series types.
Constructors
-
TechnicalIndicator({bool isVisible = true, String? xAxisName, String? yAxisName, String? seriesName, List<
double> dashArray = const <double>[0, 0], double animationDuration = 1500, double animationDelay = 0, List<T> ? dataSource, ChartIndexedValueMapper<D> ? xValueMapper, ChartIndexedValueMapper<num?> ? highValueMapper, ChartIndexedValueMapper<num?> ? lowValueMapper, ChartIndexedValueMapper<num?> ? openValueMapper, ChartIndexedValueMapper<num?> ? closeValueMapper, ChartIndexedValueMapper<num?> ? volumeValueMapper, String? name, ChartIndicatorRenderCallback? onRenderDetailsUpdate, bool isVisibleInLegend = true, LegendIconType legendIconType = LegendIconType.seriesType, String? legendItemText, Color signalLineColor = Colors.blue, double signalLineWidth = 2}) - Creating an argument constructor of TechnicalIndicators class.
Properties
- animationDelay → double
-
Delay duration of the technical indicator's animation.
It takes a millisecond value as input.
By default, the technical indicator will get animated for the specified
duration. If animationDelay is specified, then the technical indicator
will begin to animate after the specified duration.
final
- animationDuration → double
-
Animation duration for the technical indicators.
final
-
closeValueMapper
→ ChartIndexedValueMapper<
num?> ? -
Value mapper to map the close values with technical indicators.
final
-
dashArray
→ List<
double> -
Property to provide dash array for the technical indicators.
final
-
dataSource
→ List<
T> ? -
Property to provide data for the technical indicators without any series.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
highValueMapper
→ ChartIndexedValueMapper<
num?> ? -
Value mapper to map the high values with technical indicators.
final
- isVisible → bool
-
Boolean property to change the visibility of the technical indicators.
final
- isVisibleInLegend → bool
-
Boolean property to determine the rendering of legends for the
technical indicators.
final
- legendIconType → LegendIconType
-
Property to provide icon type for the technical indicators legend.
final
- legendItemText → String?
-
Property to provide the text for the technical indicators legend.
final
-
lowValueMapper
→ ChartIndexedValueMapper<
num?> ? -
Value mapper to map the low values with technical indicators.
final
- name → String?
-
Property to provide name for the technical indicators.
final
- onRenderDetailsUpdate → ChartIndicatorRenderCallback?
-
Callback which gets called while rendering the indicators.
final
-
openValueMapper
→ ChartIndexedValueMapper<
num?> ? -
Value mapper to map the open values with technical indicators.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seriesName → String?
-
Property to link indicators to a series based on names.
final
- signalLineColor → Color
-
Property to provide the color of the signal line in the
technical indicators.
final
- signalLineWidth → double
-
Property to provide the width of the signal line in the
technical indicators.
final
-
volumeValueMapper
→ ChartIndexedValueMapper<
num?> ? -
Volume of series.
final
- xAxisName → String?
-
Property to map the technical indicators with the axes.
final
-
xValueMapper
→ ChartIndexedValueMapper<
D> ? -
Value mapper to map the x values with technical indicators.
final
- yAxisName → String?
-
Property to map the technical indicators with the axes.
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