This commit is contained in:
Miha Kralj
2022-04-28 12:52:00 -07:00
parent e9d7ba8cf1
commit 50ae1d4917
11 changed files with 129 additions and 23 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ public abstract class Single_TBars_Indicator : TSeries
}
// overridable Add() method to add/update a single item at the end of the list
public virtual void Add((System.DateTime t, double o, double h, double l, double c, double v) TBar, bool update) => base.Add(TBar.c, update);
public virtual void Add((System.DateTime t, double o, double h, double l, double c, double v) TBar, bool update) => base.Add((TBar.t, TBar.c), update);
// potentially overridable Add() method for the whole series (could be replaced with faster bulk algo)
public virtual void Add(TBars bars)