CCIIndicator class

Commodity Channel Index (CCI) indicator. Momentum oscillator measuring price deviation from its statistical mean. Horizontal reference levels at +100 (Overbought) and -100 (Oversold).

Inheritance

Constructors

CCIIndicator({int period = 20, Color color = const Color(0xFF00B0FF), 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