Example #1
0
 protected override void Create()
 {
     m_barnumber1        = new BarNumber(this);
     m_swinglowbar1      = new SwingLowBar(this);
     m_swinglowbar2      = new SwingLowBar(this);
     m_swinghighbar1     = new SwingHighBar(this);
     m_swinghighbar2     = new SwingHighBar(this);
     m_barnum            = new VariableSeries <Double>(this);
     m_neckswbar         = new VariableObject <Int32>(this);
     m_hnsswbar          = new VariableObject <Int32>(this);
     m_neckswprice       = new VariableSeries <Double>(this);
     m_hnsswprice        = new VariableSeries <Double>(this);
     m_vertorder_hvss    = new VariableObject <Boolean>(this);
     m_vertorder_nvss    = new VariableObject <Boolean>(this);
     m_necklinelimit     = new VariableObject <Double>(this);
     m_maxnecktoheaddist = new VariableObject <Double>(this);
     m_vertproportion    = new VariableObject <Boolean>(this);
     m_color             = new VariableObject <Color>(this);
     m_confirmbarnum     = new VariableObject <Double>(this);
     m_lastcrossedtl     = new VariableObject <int>(this);
     m_neckswings        = new Array2DSimple <Double>(this, 2, 4);
     m_hnsswings         = new Array2DSimple <Double>(this, 3, 5);
     Plot1 =
         AddPlot(new PlotAttributes("H&S", EPlotShapes.Point, Color.White,
                                    Color.Empty, 4, 0, true));
 }
 protected override void Create(){
     m_barnumber1 = new BarNumber(this);
     m_swinghighbar1 = new SwingHighBar(this);
     m_swinglowbar1 = new SwingLowBar(this);
     m_dntlref = new VariableSeries<ITrendLineObject>(this);
     m_dntlendbar = new VariableObject<Int32>(this);
     m_dntlbreak = new VariableObject<Boolean>(this);
     m_uptlref = new VariableSeries<ITrendLineObject>(this);
     m_uptlendbar = new VariableObject<Int32>(this);
     m_uptlbreak = new VariableObject<Boolean>(this);
     m_index = new VariableObject<Int32>(this);
     m_swhitime = new ArraySimple<DateTime>(this, 11);
     m_swhival = new ArraySimple<Double>(this, 11);
     m_swlotime = new ArraySimple<DateTime>(this, 11);
     m_swloval = new ArraySimple<Double>(this, 11);
 }
Example #3
0
 protected override void Create()
 {
     m_barnumber1    = new BarNumber(this);
     m_swinghighbar1 = new SwingHighBar(this);
     m_swinglowbar1  = new SwingLowBar(this);
     m_dntlref       = new VariableSeries <ITrendLineObject>(this);
     m_dntlendbar    = new VariableObject <Int32>(this);
     m_dntlbreak     = new VariableObject <Boolean>(this);
     m_uptlref       = new VariableSeries <ITrendLineObject>(this);
     m_uptlendbar    = new VariableObject <Int32>(this);
     m_uptlbreak     = new VariableObject <Boolean>(this);
     m_index         = new VariableObject <Int32>(this);
     m_swhitime      = new ArraySimple <DateTime>(this, 11);
     m_swhival       = new ArraySimple <Double>(this, 11);
     m_swlotime      = new ArraySimple <DateTime>(this, 11);
     m_swloval       = new ArraySimple <Double>(this, 11);
 }
 protected override void Create(){
     m_barnumber1 = new BarNumber(this);
     m_swinglowbar1 = new SwingLowBar(this);
     m_swinglowbar2 = new SwingLowBar(this);
     m_swinghighbar1 = new SwingHighBar(this);
     m_swinghighbar2 = new SwingHighBar(this);
     m_barnum = new VariableSeries<Double>(this);
     m_neckswbar = new VariableObject<Int32>(this);
     m_hnsswbar = new VariableObject<Int32>(this);
     m_neckswprice = new VariableSeries<Double>(this);
     m_hnsswprice = new VariableSeries<Double>(this);
     m_vertorder_hvss = new VariableObject<Boolean>(this);
     m_vertorder_nvss = new VariableObject<Boolean>(this);
     m_necklinelimit = new VariableObject<Double>(this);
     m_maxnecktoheaddist = new VariableObject<Double>(this);
     m_vertproportion = new VariableObject<Boolean>(this);
     m_color = new VariableObject<Color>(this);
     m_confirmbarnum = new VariableObject<Double>(this);
     m_lastcrossedtl = new VariableObject<int>(this);
     m_neckswings = new Array2DSimple<Double>(this, 2, 4);
     m_hnsswings = new Array2DSimple<Double>(this, 3, 5);
     Plot1 =
         AddPlot(new PlotAttributes("H&S", EPlotShapes.Point, Color.White,
                                    Color.Empty, 4, 0, true));
 }