protected override void Create() { m_pennant1 = new Pennant(this); m_otlhistartpr = new VariableObject <Double>(this); m_otlhiendpr = new VariableObject <Double>(this); m_otllostartpr = new VariableObject <Double>(this); m_otlloendpr = new VariableObject <Double>(this); m_color = new VariableObject <Color>(this); m_tlhi = new VariableObject <ITrendLineObject>(this); m_tllo = new VariableObject <ITrendLineObject>(this); Plot1 = AddPlot(new PlotAttributes("PenBrkoutUp", EPlotShapes.Point, Color.Cyan, Color.Empty, 5, 0, true)); Plot2 = AddPlot(new PlotAttributes("PenBrkoutDn", EPlotShapes.Point, Color.Yellow, Color.Empty, 5, 0, true)); Plot3 = AddPlot(new PlotAttributes("HiExt", EPlotShapes.Point, Color.Silver, Color.Empty, 3, 0, true)); Plot4 = AddPlot(new PlotAttributes("LoExt", EPlotShapes.Point, Color.Silver, Color.Empty, 3, 0, true)); }
protected override void Create(){ m_pennant1 = new Pennant(this); m_otlhistartpr = new VariableObject<Double>(this); m_otlhiendpr = new VariableObject<Double>(this); m_otllostartpr = new VariableObject<Double>(this); m_otlloendpr = new VariableObject<Double>(this); m_color = new VariableObject<Color>(this); m_tlhi = new VariableObject<ITrendLineObject>(this); m_tllo = new VariableObject<ITrendLineObject>(this); Plot1 = AddPlot(new PlotAttributes("PenBrkoutUp", EPlotShapes.Point, Color.Cyan, Color.Empty, 5, 0, true)); Plot2 = AddPlot(new PlotAttributes("PenBrkoutDn", EPlotShapes.Point, Color.Yellow, Color.Empty, 5, 0, true)); Plot3 = AddPlot(new PlotAttributes("HiExt", EPlotShapes.Point, Color.Silver, Color.Empty, 3, 0, true)); Plot4 = AddPlot(new PlotAttributes("LoExt", EPlotShapes.Point, Color.Silver, Color.Empty, 3, 0, true)); }