protected override void Create()
 {
     m_macd1              = new Function.MACD(this);
     m_xaverage1          = new Function.XAverage(this);
     m_normgradientcolor1 = new Function.NormGradientColor(this);
     m_macdvalue          = new VariableSeries <Double>(this);
     m_macddiff           = new VariableSeries <Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("Plot1", EPlotShapes.BarHigh,
                                    Color.White, Color.Empty, 0,
                                    0,
                                    true));
     Plot2 =
         AddPlot(new PlotAttributes("Plot2", EPlotShapes.BarLow,
                                    Color.White, Color.Empty, 0,
                                    0,
                                    true));
     Plot3 =
         AddPlot(new PlotAttributes("Plot3", EPlotShapes.LeftTick,
                                    Color.White, Color.Empty, 0,
                                    0,
                                    true));
     Plot4 =
         AddPlot(new PlotAttributes("Plot4", EPlotShapes.RightTick,
                                    Color.White, Color.Empty, 0,
                                    0,
                                    true));
 }
 protected override void Create(){
     m_macd1 = new Function.MACD(this);
     m_xaverage1 = new Function.XAverage(this);
     m_normgradientcolor1 = new Function.NormGradientColor(this);
     m_macdvalue = new VariableSeries<Double>(this);
     m_macddiff = new VariableSeries<Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("Plot1", EPlotShapes.BarHigh,
                                    Color.White, Color.Empty, 0,
                                    0,
                                    true));
     Plot2 =
         AddPlot(new PlotAttributes("Plot2", EPlotShapes.BarLow,
                                    Color.White, Color.Empty, 0,
                                    0,
                                    true));
     Plot3 =
         AddPlot(new PlotAttributes("Plot3", EPlotShapes.LeftTick,
                                    Color.White, Color.Empty, 0,
                                    0,
                                    true));
     Plot4 =
         AddPlot(new PlotAttributes("Plot4", EPlotShapes.RightTick,
                                    Color.White, Color.Empty, 0,
                                    0,
                                    true));
 }
Exemplo n.º 3
0
 protected override void Create(){
     m_macd1 = new Function.MACD(this);
     m_xaverage1 = new Function.XAverage(this);
     m_mymacd = new VariableSeries<Double>(this);
     m_macddiff = new VariableSeries<Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("MACD", 0, Color.Cyan,
                                    Color.Empty, 0, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("MACDAvg", 0, Color.Yellow,
                                    Color.Empty, 0, 0, true));
     Plot3 =
         AddPlot(new PlotAttributes("MACDDiff", EPlotShapes.Histogram,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot4 =
         AddPlot(new PlotAttributes("ZeroLine", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }
Exemplo n.º 4
0
 protected override void Create()
 {
     m_macd1     = new Function.MACD(this);
     m_xaverage1 = new Function.XAverage(this);
     m_mymacd    = new VariableSeries <Double>(this);
     m_macddiff  = new VariableSeries <Double>(this);
     Plot1       =
         AddPlot(new PlotAttributes("MACD", 0, Color.Cyan,
                                    Color.Empty, 0, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("MACDAvg", 0, Color.Yellow,
                                    Color.Empty, 0, 0, true));
     Plot3 =
         AddPlot(new PlotAttributes("MACDDiff", EPlotShapes.Histogram,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot4 =
         AddPlot(new PlotAttributes("ZeroLine", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }