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)); }
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)); }
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); }
public void OBV() { OBV obv = new OBV(); obv.Load(OhlcList); var serie = obv.Calculate(); Assert.IsNotNull(serie); Assert.IsTrue(serie.Values.Count > 0); }
public void OBV() { OBV obv = new OBV(); obv.Load(csvPath); SingleDoubleSerie serie = obv.Calculate(); Assert.NotNull(serie); Assert.True(serie.Values.Count > 0); }