public virtual void Add(BaseBar b2) { this.m_high = Math.Max(this.m_high, b2.m_high); this.m_low = Math.Min(this.m_low, b2.m_low); this.m_close = b2.m_close; }
protected BaseBar(BaseBar bar) { this.m_date = bar.m_date; this.m_open = bar.m_open; this.m_high = bar.m_high; this.m_low = bar.m_low; this.m_close = bar.m_close; this.m_volume = bar.m_volume; }