Renders the data you are working with on the chart.
plot SMA = Average(close, 12);
This example draws a simple moving average study plot.
You can separate the plot definition from its value assignment. Consider the following example:
Second = Average(close, 10);
First = Second;
Here, the plots are declared first, and their values are defined afterwards. This notation can be useful when you need to plot a value that depends on another while keeping the reverse order of plots.