static Color candleColorOnWhite(double direction) { ret direction == 0 ? Color.black : directionToCandleColor(direction); }