protected override void Create(){
     m_obv1 = new OBV(this);
     m_obvvalue = new VariableSeries<Double>(this);
     Plot1 =
         AddPlot(new PlotAttributes("OBV", 0, Color.Cyan,
                                    Color.Empty, 0, 0, true));
 }
예제 #2
0
 protected override void Create()
 {
     m_obv1     = new OBV(this);
     m_obvvalue = new VariableSeries <Double>(this);
     Plot1      =
         AddPlot(new PlotAttributes("OBV", 0, Color.Cyan,
                                    Color.Empty, 0, 0, true));
 }
예제 #3
0
        public void OBV()
        {
            OBV obv = new OBV();

            obv.Load(Directory.GetCurrentDirectory() + "\\table.csv");
            SingleDoubleSerie serie = obv.Calculate();

            Assert.IsNotNull(serie);
            Assert.IsTrue(serie.Values.Count > 0);
        }
예제 #4
0
        public void OBV()
        {
            OBV obv = new OBV();

            obv.Load(OhlcList);
            var serie = obv.Calculate();

            Assert.IsNotNull(serie);
            Assert.IsTrue(serie.Values.Count > 0);
        }
예제 #5
0
        public void OBV()
        {
            OBV obv = new OBV();

            obv.Load(csvPath);
            SingleDoubleSerie serie = obv.Calculate();

            Assert.NotNull(serie);
            Assert.True(serie.Values.Count > 0);
        }