isDoji property

bool get isDoji

Whether this bar is a Doji (Open == Close).

Implementation

bool get isDoji => (close - open).abs() < (range * 0.05);