mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-20 03:28:05 +00:00
Reworked KAMA & Charts
This commit is contained in:
@@ -17,7 +17,7 @@ public class HMA_chart : Indicator
|
||||
|
||||
#endregion Parameters
|
||||
|
||||
private readonly TBars bars = new();
|
||||
private TBars bars;
|
||||
|
||||
///////
|
||||
private HMA_Series indicator;
|
||||
@@ -35,7 +35,8 @@ public class HMA_chart : Indicator
|
||||
{
|
||||
this.ShortName =
|
||||
"HMA (" + TBars.SelectStr(this.DataSource) + ", " + this.Period + ")";
|
||||
this.indicator = new(source: bars.Select(this.DataSource),
|
||||
this.bars = new();
|
||||
this.indicator = new(source: bars.Select(this.DataSource),
|
||||
period: this.Period, useNaN: false);
|
||||
Debug.WriteLine("Send to debug output.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user