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));
 }
 protected override void Create(){
     m_normgradientcolor1 = new NormGradientColor(this);
     m_mom = new VariableSeries<Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("Momentum", 0, Color.Blue,
                                    Color.Empty, 0, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("ZeroLine", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }
 protected override void Create(){
     m_trix1 = new Function.TRIX(this);
     m_normgradientcolor1 = new Function.NormGradientColor(this);
     m_trixvalue = new VariableSeries<Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("TRIX", 0, Color.Yellow,
                                    Color.Empty, 0, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("ZeroLine", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }
示例#5
0
 protected override void Create()
 {
     m_normgradientcolor1 = new NormGradientColor(this);
     m_mom = new VariableSeries <Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("Momentum", 0, Color.Blue,
                                    Color.Empty, 0, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("ZeroLine", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }
示例#6
0
 protected override void Create()
 {
     m_trix1 = new Function.TRIX(this);
     m_normgradientcolor1 = new Function.NormGradientColor(this);
     m_trixvalue          = new VariableSeries <Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("TRIX", 0, Color.Yellow,
                                    Color.Empty, 0, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("ZeroLine", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }