private byte m_intensity; // 0-255 protected override void Create() { m_lowerband = new VariableSeries <Double>(this); m_upperband = new VariableSeries <Double>(this); volstddev = new VolatilityStdDev_ClosedOnly(this); Plot1 = AddPlot(new PlotAttributes("UpperBand", 0, Color.Green, Color.Empty, 1, 0, true)); Plot2 = AddPlot(new PlotAttributes("LowerBand", 0, Color.Red, Color.Empty, 1, 0, true)); m_IndicatorArea = new AreaValue(); isCSDRegistred = false; }
protected override void Create() { m_lowerband = new VariableSeries <Double>(this); m_upperband = new VariableSeries <Double>(this); volstddev = new VolatilityStdDev_ClosedOnly(this); Plot1 = AddPlot(new PlotAttributes("UpperBand", 0, Color.Red, Color.Empty, 1, 0, true)); Plot2 = AddPlot(new PlotAttributes("LowerBand", 0, Color.Green, Color.Empty, 1, 0, true)); if (enable_depth) { Plot3 = AddPlot(new PlotAttributes("UpperDepth", 0, Color.Red, Color.Empty, 1, 0, true)); Plot4 = AddPlot(new PlotAttributes("LowerDepth", 0, Color.Red, Color.Empty, 1, 0, true)); } }