public void Update(FxBar bar) { //base.Update(bar); AskOpen = bar.AskOpen; AskHigh = bar.AskHigh; AskLow = bar.AskLow; AskClose = bar.AskClose; }
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; }