Indicator location in a separate panel

Indicator could be displayed in the chart area or in a separate panel.

By default, indicator is displayed in the chart area.

If you want an indicator to be displayed in a new panel by default, it is necessary to specify it in the constructor.

public MyCustomIndicator()
{
    Panel = IndicatorDataProvider.NewPanel;
}

It is also possible to prohibit a user from changing the chart location from the interface. To do it, it is necessary to put the DenyToChangePanel flag in the constructor.

public MyCustomIndicator()
{
    DenyToChangePanel = true;    
    Panel = IndicatorDataProvider.NewPanel;
}

This article was helpful for 1 person. Is this article helpful for you?