Exemple #1
0
 protected override void Create()
 {
     m_rs_dailydataarray1   = new RS_DailyDataArray(this);
     m_rs_trueextremes1     = new RS_TrueExtremes(this);
     m_rs_priceextension1   = new RS_PriceExtension(this);
     m_rs_reversalpatterns1 = new RS_ReversalPatterns(this);
     m_barnumber1           = new BarNumber(this);
     m_value3        = new VariableObject <int>(this);
     m_index         = new VariableObject <Int32>(this);
     m_prevtrhighest = new VariableObject <Double>(this);
     m_prevtrlowest  = new VariableObject <Double>(this);
     m_prevatr       = new VariableObject <Double>(this);
     m_osetup        = new VariableObject <int>(this);
     m_otrigger      = new VariableObject <Double>(this);
     m_dataarray     = new Array2DSimple <Double>(this, 13, 101);
     m_subarray      = new ArraySimple <Double>(this, 4);
     Plot1           =
         AddPlot(new PlotAttributes("Ext", EPlotShapes.Point, Color.Blue,
                                    Color.Empty, 3, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("Setup", EPlotShapes.Point,
                                    Color.Yellow, Color.Empty, 4,
                                    0,
                                    true));
     Plot3 =
         AddPlot(new PlotAttributes("Trigger", EPlotShapes.Point,
                                    Color.Cyan, Color.Empty, 5, 0,
                                    true));
     Plot4 =
         AddPlot(new PlotAttributes("HiLoLines", EPlotShapes.Point,
                                    Color.Yellow, Color.Empty, 1,
                                    0,
                                    true));
 }
 protected override void Create(){
     m_rs_dailydataarray1 = new RS_DailyDataArray(this);
     m_rs_trueextremes1 = new RS_TrueExtremes(this);
     m_rs_priceextension1 = new RS_PriceExtension(this);
     m_rs_reversalpatterns1 = new RS_ReversalPatterns(this);
     m_barnumber1 = new BarNumber(this);
     m_value3 = new VariableObject<int>(this);
     m_index = new VariableObject<Int32>(this);
     m_prevtrhighest = new VariableObject<Double>(this);
     m_prevtrlowest = new VariableObject<Double>(this);
     m_prevatr = new VariableObject<Double>(this);
     m_osetup = new VariableObject<int>(this);
     m_otrigger = new VariableObject<Double>(this);
     m_dataarray = new Array2DSimple<Double>(this, 13, 101);
     m_subarray = new ArraySimple<Double>(this, 4);
     Plot1 =
         AddPlot(new PlotAttributes("Ext", EPlotShapes.Point, Color.Blue,
                                    Color.Empty, 3, 0, true));
     Plot2 =
         AddPlot(new PlotAttributes("Setup", EPlotShapes.Point,
                                    Color.Yellow, Color.Empty, 4,
                                    0,
                                    true));
     Plot3 =
         AddPlot(new PlotAttributes("Trigger", EPlotShapes.Point,
                                    Color.Cyan, Color.Empty, 5, 0,
                                    true));
     Plot4 =
         AddPlot(new PlotAttributes("HiLoLines", EPlotShapes.Point,
                                    Color.Yellow, Color.Empty, 1,
                                    0,
                                    true));
 }