Pane and scale relationships of a portable template. Pane 0 is always the price pane and the study panes follow in their chart order, whatever slot the price pane held on the chart that was captured: a template applies the same way to a chart that keeps its price pane at the top and to one that keeps it below its studies.

interface IndicatorTemplateLayout {
    panes: PaneState[];
    plots: IndicatorTemplatePlotBinding[];
    primaryScaleId?: PriceScaleId;
}

Properties

panes: PaneState[]
primaryScaleId?: PriceScaleId