PivotPointsIndicator class

Classic Pivot Points — P, R1, R2, R3, S1, S2, S3 as horizontal overlay levels. Computed from the previous session's High, Low, and Close. The most recent complete session is used (second-to-last candle group by day).

Inheritance

Constructors

PivotPointsIndicator({Color pivotColor = const Color(0xFFFFFFFF), Color resistanceColor = const Color(0xFF00E676), Color supportColor = const Color(0xFFFF3B30)})

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
no setteroverride
isOverlay → bool
no setteroverride
name → String
no setteroverride
pivotColor → Color
final
resistanceColor → Color
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportColor → Color
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