Documentation/AlgoCode/Function reference

colors

Named colors for plot, fill, level, and paint.

Reference/Language basics/Language

green red blue orange purple gray grey white black yellow lime

Write the color word after the statement. If you omit it, plot is blue. These are the only color names — no hex codes: green, red, blue, orange, purple, gray, grey, white, black, yellow, lime.

Return value

Example

plot ema(9) as "Fast" blue
plot ema(21) as "Slow" orange
when bullish
  paint lime

See also