Esempio n. 1
0
 protected override void Create()
 {
     m_rs_dailydataarray1 = new RS_DailyDataArray(this);
     m_barnumber1         = new BarNumber(this);
     m_rs_extremes1       = new RS_Extremes(this);
     m_rs_average1        = new RS_Average(this);
     m_rs_average2        = new RS_Average(this);
     m_rs_average3        = new RS_Average(this);
     m_index           = new VariableObject <Int32>(this);
     m_qualhi          = new VariableSeries <Boolean>(this);
     m_quallo          = new VariableSeries <Boolean>(this);
     m_oprevhighest    = new VariableObject <Double>(this);
     m_oprevhighestday = new VariableObject <Double>(this);
     m_oprevlowest     = new VariableObject <Double>(this);
     m_oprevlowestday  = new VariableObject <Double>(this);
     m_revgapup        = new VariableObject <Boolean>(this);
     m_revgapdn        = new VariableObject <Boolean>(this);
     m_dataarray       = new Array2DSimple <Double>(this, 13, 101);
     m_subarray        = new ArraySimple <Double>(this, 4);
     Plot1             =
         AddPlot(new PlotAttributes("NewHiLo", EPlotShapes.Point,
                                    Color.Cyan, Color.Empty, 5, 0,
                                    true));
     Plot2 =
         AddPlot(new PlotAttributes("RevGap", EPlotShapes.Point,
                                    Color.Yellow, Color.Empty, 2,
                                    0,
                                    true));
     Plot3 =
         AddPlot(new PlotAttributes("HiLine", 0, Color.Blue,
                                    Color.Empty, 0, 0, true));
     Plot4 =
         AddPlot(new PlotAttributes("LoLine", 0, Color.Magenta,
                                    Color.Empty, 0, 0, true));
 }
 protected override void Create(){
     m_rs_dailydataarray1 = new RS_DailyDataArray(this);
     m_barnumber1 = new BarNumber(this);
     m_rs_extremes1 = new RS_Extremes(this);
     m_rs_average1 = new RS_Average(this);
     m_rs_average2 = new RS_Average(this);
     m_rs_average3 = new RS_Average(this);
     m_index = new VariableObject<Int32>(this);
     m_qualhi = new VariableSeries<Boolean>(this);
     m_quallo = new VariableSeries<Boolean>(this);
     m_oprevhighest = new VariableObject<Double>(this);
     m_oprevhighestday = new VariableObject<Double>(this);
     m_oprevlowest = new VariableObject<Double>(this);
     m_oprevlowestday = new VariableObject<Double>(this);
     m_revgapup = new VariableObject<Boolean>(this);
     m_revgapdn = new VariableObject<Boolean>(this);
     m_dataarray = new Array2DSimple<Double>(this, 13, 101);
     m_subarray = new ArraySimple<Double>(this, 4);
     Plot1 =
         AddPlot(new PlotAttributes("NewHiLo", EPlotShapes.Point,
                                    Color.Cyan, Color.Empty, 5, 0,
                                    true));
     Plot2 =
         AddPlot(new PlotAttributes("RevGap", EPlotShapes.Point,
                                    Color.Yellow, Color.Empty, 2,
                                    0,
                                    true));
     Plot3 =
         AddPlot(new PlotAttributes("HiLine", 0, Color.Blue,
                                    Color.Empty, 0, 0, true));
     Plot4 =
         AddPlot(new PlotAttributes("LoLine", 0, Color.Magenta,
                                    Color.Empty, 0, 0, true));
 }