Exemplo n.º 1
0
 protected override void Create()
 {
     m_rsi1        = new Function.RSI(this);
     m_barnum      = new VariableObject <int>(this);
     m_formulaopen = new VariableObject <Double>(this);
     m_formulahigh = new VariableObject <Double>(this);
     m_formulalow  = new VariableObject <Double>(this);
     Plot1         =
         AddPlot(new PlotAttributes("FormulaOpen", EPlotShapes.LeftTick,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot2 =
         AddPlot(new PlotAttributes("FormulaHigh", EPlotShapes.BarHigh,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot3 =
         AddPlot(new PlotAttributes("FormulaLow", EPlotShapes.BarLow,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot4 =
         AddPlot(new PlotAttributes("FormulaClose", EPlotShapes.RightTick,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot5 =
         AddPlot(new PlotAttributes("Baseline1", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
     Plot6 =
         AddPlot(new PlotAttributes("Baseline2", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }
 protected override void Create(){
     m_rsi1 = new Function.RSI(this);
     m_barnum = new VariableObject<int>(this);
     m_formulaopen = new VariableObject<Double>(this);
     m_formulahigh = new VariableObject<Double>(this);
     m_formulalow = new VariableObject<Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("FormulaOpen", EPlotShapes.LeftTick,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot2 =
         AddPlot(new PlotAttributes("FormulaHigh", EPlotShapes.BarHigh,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot3 =
         AddPlot(new PlotAttributes("FormulaLow", EPlotShapes.BarLow,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot4 =
         AddPlot(new PlotAttributes("FormulaClose", EPlotShapes.RightTick,
                                    Color.Blue, Color.Empty, 0, 0,
                                    true));
     Plot5 =
         AddPlot(new PlotAttributes("Baseline1", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
     Plot6 =
         AddPlot(new PlotAttributes("Baseline2", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }
Exemplo n.º 3
0
 protected override void Create(){
     m_rsi1 = new Function.RSI(this);
     m_myrsi = new VariableSeries<Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("RSI", 0, Color.Silver,
                                    Color.Empty, 0, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("OverBot", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
     Plot3 =
         AddPlot(new PlotAttributes("OverSld", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }
Exemplo n.º 4
0
 protected override void Create()
 {
     m_rsi1  = new Function.RSI(this);
     m_myrsi = new VariableSeries <Double>(this);
     Plot1   =
         AddPlot(new PlotAttributes("RSI", 0, Color.Silver,
                                    Color.Empty, 0, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("OverBot", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
     Plot3 =
         AddPlot(new PlotAttributes("OverSld", 0, Color.Green,
                                    Color.Empty, 0, 0, true));
 }