RsiIndicator<T, D> class

Renders relative strength index (RSI) indicator.

The relative strength index (RSI) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions.

The RSI indicator has additional two lines other than the signal line.They indicate the overbought and oversold region.

The upperLineColor property is used to define the color for the line that indicates overbought region, and the lowerLineColor property is used to define the color for the line that indicates oversold region.

Inheritance

Constructors

RsiIndicator({bool isVisible, String xAxisName, String yAxisName, String seriesName, List<double> dashArray, double animationDuration, List<T> dataSource, ChartValueMapper<T, D> xValueMapper, ChartValueMapper<T, num> highValueMapper, ChartValueMapper<T, num> lowValueMapper, ChartValueMapper<T, num> closeValueMapper, String name, bool isVisibleInLegend, LegendIconType legendIconType, String legendItemText, Color signalLineColor, double signalLineWidth, int period, bool showZones, double overbought, double oversold, Color upperLineColor, double upperLineWidth, Color lowerLineColor, double lowerLineWidth})
Creating an argument constructor of RsiIndicator class.

Properties

animationDuration double
Animation duration for the technical indicators. [...]
final, inherited
closeValueMapper ChartIndexedValueMapper<num>
Value mapper to map the close values with technical indicators. [...]
final, inherited
dashArray List<double>
Property to provide DashArray for the technical indicators. [...]
final, inherited
dataSource List<T>
Property to provide data for the technical indicators without any series. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
highValueMapper ChartIndexedValueMapper<num>
Value mapper to map the high values with technical indicators. [...]
final, inherited
isVisible bool
Boolean property to change the visibility of the technical indicators. [...]
final, inherited
isVisibleInLegend bool
Boolean property to determine the rendering of legends for the technical indicators. [...]
final, inherited
legendIconType LegendIconType
Property to provide icon type for the technical indicators legend. [...]
final, inherited
legendItemText String
Property to provide the text for the technical indicators legend. [...]
final, inherited
lowerLineColor Color
Color of the lowerLine for RSI indicator. [...]
final
lowerLineWidth double
Width of the upperLine for RSI indicator. [...]
final
lowValueMapper ChartIndexedValueMapper<num>
Value mapper to map the low values with technical indicators. [...]
final, inherited
name String
Property to provide name for the technical indicators. [...]
final, inherited
openValueMapper ChartIndexedValueMapper<num>
Value mapper to map the open values with technical indicators. [...]
final, inherited
overbought double
Overbought value for RSI indicator. [...]
final
oversold double
Oversold value for RSI indicator. [...]
final
period int
Period determines the start point for the rendering of technical indicators. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesName String
Property to link indicators to a series based on names. [...]
final, inherited
showZones bool
ShowZones boolean value for RSI indicator [...]
final
signalLineColor Color
Property to provide the color of the signal line in the technical indicators. [...]
final, inherited
signalLineWidth double
Property to provide the width of the signal line in the technical indicators. [...]
final, inherited
upperLineColor Color
Color of the upperLine for RSI indicator. [...]
final
upperLineWidth double
Width of the upperLine for RSI indicator. [...]
final
xAxisName String
Property to map the technical indicators with the axes. [...]
final, inherited
xValueMapper ChartIndexedValueMapper<D>
Value mapper to map the x values with technical indicators. [...]
final, inherited
yAxisName String
Property to map the technical indicators with the axes. [...]
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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