Tests and QT cleanup

This commit is contained in:
Miha Kralj
2022-12-21 12:31:29 -08:00
parent 9ad467cd5a
commit 5844547a79
31 changed files with 188 additions and 243 deletions
+2 -2
View File
@@ -28,10 +28,10 @@ public class CCI_chart : Indicator
protected override void OnInit()
{
this.ShortName = "CCI (" + this.Period + ")";
this.bars = new();
this.indicator = new(source: bars, period: this.Period, useNaN: false);
}
}
protected override void OnUpdate(UpdateArgs args)
{
bool update = (args.Reason != UpdateReason.NewBar && args.Reason != UpdateReason.HistoricalBar);