Beispiel #1
0
 public SMA(SMA s)
 {
     this.dDate = s.dDate;
     this.fVals = s.fVals;
     this.MS = s.MS;
     this.time = s.time;
     //s.dDate.CopyTo(this.dDate);
     //s.fVals.CopyTo(this.fVals);
 }
Beispiel #2
0
        private int time; // thoi gian tinh toan chi so SMA , tinh theo so ngay (5,10,20,50 ... ngay)

        #endregion Fields

        #region Constructors

        public SMA()
        {
            this.fVals = new List<float> ();
            this.dDate = new List<DateTime> ();
            this.MS = new Multi_Stock();
            this.time = 0;
        }