Documentation/AlgoCode/Function reference

plot

Draw a line on the chart. show is the same word.

Reference/Language/Language

plot series as "Title" color

Title is optional. Color is one of the named colors (see colors). Without a color the line is blue. Alias: show ema(9) as "Fast" blue. Prefer plot in new scripts (show still works).

Return value

Also accepted: show.

Note

  • Use oscillator at the top of the script to put plots in a separate pane.

Example

fast = ema(9)
slow = ema(21)
plot fast as "Fast" blue
plot slow as "Slow" orange

See also