ATRIndicator class
Average True Range (ATR) indicator with Wilder's smoothing. Measures market volatility as a sub-pane line oscillator.
Constructors
- ATRIndicator({int period = 14, Color color = const Color(0xFF00E5FF), double strokeWidth = 1.5})
Properties
- color → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setteroverride
- isOverlay → bool
-
no setteroverride
- name → String
-
no setteroverride
- period → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeWidth → double
-
final
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