Exemple #1
0
 public void Update(TradeBar currentBar)
 {
     Price.AddPoint(currentBar.EndTime, currentBar.Close);
     Upper.AddPoint(BB.UpperBand.Current.EndTime, BB.UpperBand.Current.Price);
     Middle.AddPoint(BB.MiddleBand.Current.EndTime, BB.MiddleBand.Current.Price);
     Lower.AddPoint(BB.LowerBand.Current.EndTime, BB.LowerBand.Current.Price);
 }