Exemplo n.º 1
0
        /// <summary>
        /// 得到这个bar的结束时间
        /// </summary>
        /// <param name="barPos"></param>
        /// <returns></returns>
        public double GetKLinePeriodEndTime(int barPos)
        {
            double time = Arr_Time[barPos];

            return(TimeUtils.AddTime(time, this.Period.Period, this.Period.PeriodType));
        }