MACDIndicator class
Moving Average Convergence Divergence (MACD) Sub-Pane Indicator.
Computes:
- MACD Line: Fast EMA (12) - Slow EMA (26)
- Signal Line: Signal EMA (9) of MACD Line
- Histogram: MACD Line - Signal Line
Constructors
Properties
- fastPeriod → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setteroverride
- isOverlay → bool
-
no setteroverride
- macdColor → Color
-
final
- name → String
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signalColor → Color
-
final
- signalPeriod → int
-
final
- slowPeriod → int
-
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