mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-14 00:28:05 +00:00
Reworked KAMA & Charts
This commit is contained in:
@@ -16,7 +16,7 @@ public class SDEV_chart : Indicator
|
||||
|
||||
#endregion Parameters
|
||||
|
||||
private readonly TBars bars = new();
|
||||
private TBars bars;
|
||||
|
||||
///////dotnet
|
||||
private SDEV_Series indicator;
|
||||
@@ -32,7 +32,8 @@ public class SDEV_chart : Indicator
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
this.ShortName =
|
||||
this.bars = new();
|
||||
this.ShortName =
|
||||
"SDEV (" + TBars.SelectStr(this.DataSource) + ", " + this.Period + ")";
|
||||
this.indicator = new(source: bars.Select(this.DataSource),
|
||||
period: this.Period, useNaN: true);
|
||||
|
||||
Reference in New Issue
Block a user