ADXIndicator class
Average Directional Index (ADX) with +DI and -DI lines. Measures trend strength (ADX) and direction (+DI vs -DI). Displayed in a sub-pane. ADX > 25 = strong trend.
Constructors
- ADXIndicator({int period = 14, Color adxColor = const Color(0xFFFFB300), Color plusDIColor = const Color(0xFF00E676), Color minusDIColor = const Color(0xFFFF3B30)})
Properties
- adxColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setteroverride
- isOverlay → bool
-
no setteroverride
- minusDIColor → Color
-
final
- name → String
-
no setteroverride
- period → int
-
final
- plusDIColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculate(
List< Candle> candles) → IndicatorResult -
Pure computation function that produces an IndicatorResult from
candles.override -
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