internal void Add(ChartQuotation chartQuotation)
        {
            if (this.High < chartQuotation.High) this.High = chartQuotation.High;
            if (this.Low > chartQuotation.Low) this.Low = chartQuotation.Low;

            this._chartQuotations.Add(chartQuotation);
        }
        internal static ChartQuotationCollection Create(DataSet dataSet, string dataCycle, string dateFormat)
        {
            var result = new ChartQuotationCollection();

            DataRow[] rows = dataSet.Tables[0].Select(null, "Date");
            foreach (ChartQuotation chartQuotation in rows.Select(row => ChartQuotation.Create(row, dateFormat)))
            {
                result.Add(chartQuotation);
            }
            result.DataCycle = dataCycle;
            return(result);
        }
        internal void Add(ChartQuotation chartQuotation)
        {
            if (this.High < chartQuotation.High)
            {
                this.High = chartQuotation.High;
            }
            if (this.Low > chartQuotation.Low)
            {
                this.Low = chartQuotation.Low;
            }

            this._chartQuotations.Add(chartQuotation);
        }