Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Miha Kralj
2022-04-24 18:09:10 -07:00
7 changed files with 12 additions and 12 deletions
+1 -2
View File
@@ -33,7 +33,6 @@ public class ZLMA_chart : Indicator
private TBars bars;
///////
private ZL_Series zerolag;
private TSeries indicator;
///////
@@ -63,7 +62,7 @@ public class ZLMA_chart : Indicator
};
this.ShortName = "ZLMA (" + maname + ", " + TBars.SelectStr(this.DataSource) + ", " + this.Period + ")";
this.zerolag = new(source: bars.Select(this.DataSource), period: this.Period, useNaN: false);
ZL_Series zerolag = new(source: bars.Select(this.DataSource), period: this.Period, useNaN: false);
this.indicator = matype switch
{
0 => new SMA_Series(source: zerolag, period: this.Period, useNaN: false),