Bollinger Bands® with validation tests

This commit is contained in:
Miha Kralj
2022-11-08 18:26:04 -08:00
parent 206e931209
commit 773f3fbbfe
6 changed files with 166 additions and 2 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ public abstract class Single_TBars_Indicator : TSeries
for (int i = 0; i < data.Count; i++) { base.Add(TValue: data[i], update: false); }
}
public new void Add((System.DateTime t, double o, double h, double l, double c, double v) TBar)
public void Add((System.DateTime t, double o, double h, double l, double c, double v) TBar)
=> this.Add(TBar: TBar, update: false);
public void Add(bool update)
=> this.Add(TBar: this._bars[this._bars.Count - 1], update: update);