Summary

Plot type.

Example

//...
[Indicator(IsOverlay = false)]//It is common to choose IsHistogram = true for indicators that are not plotted on the main chart.
public class CCI : Indicator
//...
[Output("Commodity Channel Index", PlotType = PlotType.Histogram)]
//Simple moving average will be now plotted as Histogram.
public IndicatorDataSeries SMA { get; set; }
             public override void Calculate(int index)
{
    double sum = 0.0;
                 for (int i = index - Periods + 1; i <= index; i++)
    {
        sum += Source[i];
    }
    SMA[index] = sum / Periods;
}
//...