Enables you to place a study either on the base subgraph or on the volume subgraph. Note that a study is placed on the volume subgraph in case only volume values are used in the study. This declaration is applied by default to all studies not containing the
Example (Price Oscillator)
input price = close;
input length = 9;
plot AvgWtd = wma(price, length);
In this example, the
upper declaration places the weighted moving average plot on the main chart.