plot

Plots a series. Returns a plot handle for fill().

plot(series: float, title: const string = na, color: color = na, linewidth: const int = 1, style: const string = "line", display: const string = "all", offset: input int = 0, show_last: const int = na, trackprice: const bool = false, histbase: const float = 0, join: const bool = false, linestyle: const string = na, precision: const int = na, format: const string = na, editable: const bool = true, force_overlay: const bool = false) -> plot

Parameters

Example

plot(ta.sma(close, 20), "SMA", color=color.amber, linewidth=2)