mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-17 10:08:05 +00:00
Reworked KAMA & Charts
This commit is contained in:
@@ -16,7 +16,7 @@ public class BIAS_chart : Indicator
|
||||
|
||||
#endregion Parameters
|
||||
|
||||
private readonly TBars bars = new();
|
||||
private TBars bars;
|
||||
|
||||
///////
|
||||
private BIAS_Series indicator;
|
||||
@@ -32,10 +32,9 @@ public class BIAS_chart : Indicator
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
this.ShortName =
|
||||
"BIAS (" + TBars.SelectStr(this.DataSource) + ", " + this.Period + ")";
|
||||
this.indicator =
|
||||
new(source: bars.Select(this.DataSource), period: this.Period);
|
||||
this.ShortName = "BIAS (" + TBars.SelectStr(this.DataSource) + ", " + this.Period + ")";
|
||||
this.bars = new();
|
||||
this.indicator = new(source: bars.Select(this.DataSource), period: this.Period);
|
||||
}
|
||||
|
||||
protected override void OnUpdate(UpdateArgs args)
|
||||
|
||||
Reference in New Issue
Block a user