geom_candlestick()'s default fill and colour scales for direction computed in stat_ohlc(). This default works only when the defaults are used alongside the direction statistic computed by stat_ohlc(), so candlesticks are red (falling) or green (rising) and can be overridden with an explicit colour/fill scale palette.

scale_fill_candlestick(
  ...,
  falling = "#D32F2F",
  unchanged = "grey70",
  rising = "#388E3C"
)

scale_colour_candlestick(
  ...,
  falling = "#D32F2F",
  unchanged = "grey70",
  rising = "#388E3C"
)

Arguments

...

Passed on to ggplot2::scale_fill_manual() / ggplot2::scale_colour_manual().

falling, unchanged, rising

Colours for each level of direction.

Value

A ggproto scale object.

See also

The Rising and falling candlesticks section of geom_candlestick().