Пример #1
0
        public void Update(FxBar bar)
        {
            //base.Update(bar);

            AskOpen  = bar.AskOpen;
            AskHigh  = bar.AskHigh;
            AskLow   = bar.AskLow;
            AskClose = bar.AskClose;
        }
Пример #2
0
 public FxBar(double open, double askOpen, double high, double askHigh,
              double low, double askLow, double close, double askClose, double volume,
              DateTime dateTime, DateTime endDateTime, FxBar previousBar = null) : base(open, high, low, close, volume, dateTime, previousBar)
 {
     this.AskOpen  = askOpen;
     this.AskHigh  = askHigh;
     this.AskLow   = askLow;
     this.AskClose = askClose;
 }