TechnicalIndicators<T, D> class
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
-
TechnicalIndicators({bool? isVisible, String? xAxisName, String? yAxisName, String? seriesName, List<
double> ? dashArray, double? animationDuration, double? animationDelay, List<T> ? dataSource, ChartValueMapper<T, D> ? xValueMapper, ChartValueMapper<T, num> ? lowValueMapper, ChartValueMapper<T, num> ? highValueMapper, ChartValueMapper<T, num> ? openValueMapper, ChartValueMapper<T, num> ? closeValueMapper, String? name, ChartIndicatorRenderCallback? onRenderDetailsUpdate, bool? isVisibleInLegend, LegendIconType? legendIconType, String? legendItemText, Color? signalLineColor, double? signalLineWidth, int? period}) - 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
- period → int
-
Period determines the start point for the rendering of 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
- 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